about summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-28 09:37:21 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-28 09:37:21 +0000
commit3bf3d361faff5e9a8358939e66e9b076909c02ad (patch)
tree68aeaf1054912f9f6849454e85f879d29ed5f397 /conform
parentf9b9f291b7bab3368457d3e273584c25a1ccdc0a (diff)
downloadglibc-3bf3d361faff5e9a8358939e66e9b076909c02ad.tar.gz
glibc-3bf3d361faff5e9a8358939e66e9b076909c02ad.tar.xz
glibc-3bf3d361faff5e9a8358939e66e9b076909c02ad.zip
Update.
	* conform/conformtest.pl: Undo last change.  Define
	$mustprepend{"stdio.h"}.
	* libio/stdio.h: Define va_list correctly.
Diffstat (limited to 'conform')
-rw-r--r--conform/conformtest.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index 5a15760728..aa61d89948 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -56,7 +56,7 @@ $CFLAGS{"XOPEN2K"} = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=600";
 $mustprepend{'regex.h'} = "#include <sys/types.h>\n";
 $mustprepend{'sched.h'} = "#include <sys/types.h>\n";
 $mustprepend{'signal.h'} = "#include <pthread.h>\n";
-$mustprepend{'stdio.h'} = "#include <stdarg.h>\n";
+$mustprepend{'stdio.h'} = "#include <sys/types.h>\n";
 $mustprepend{'wchar.h'} = "#include <stdarg.h>\n";
 $mustprepend{'wordexp.h'} = "#include <stddef.h>\n";
 
@@ -668,9 +668,8 @@ while ($#headers >= 0) {
       # Remember that this name is allowed.
       push @allow, $type;
 
-      # Generate a program to test for the availability of this constant.
+      # Generate a program to test for the availability of this type.
       open (TESTFILE, ">$fnamebase.c");
-      print TESTFILE "$prepend";
       print TESTFILE "#include <$h>\n";
       if ($maybe_opaque == 1) {
 	print TESTFILE "$type *a;\n";