From 639362bfb0ef5401286fbb0a78930d206da9b84e Mon Sep 17 00:00:00 2001 From: Thomas Mertes Date: Wed, 16 Apr 2003 23:09:28 +0000 Subject: [PATCH] Change c2man that it works with the new format of the spec files (without exported name). --- tools/c2man.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/c2man.pl b/tools/c2man.pl index 8dedfdbd2b2..5d8a6f60f07 100755 --- a/tools/c2man.pl +++ b/tools/c2man.pl @@ -249,6 +249,10 @@ sub process_spec_file { $implementation_name = $exported_name; } + if ($implementation_name eq "") + { + $implementation_name = $exported_name; + } # Add indices for the exported and implementation names $spec_details->{EXPORTED_NAMES}{$exported_name} = $spec_details->{NUM_EXPORTS}; if ($implementation_name ne $exported_name)