mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
* conform/conformtest.pl: Undo last change. Define $mustprepend{"stdio.h"}. * libio/stdio.h: Define va_list correctly.
This commit is contained in:
parent
f9b9f291b7
commit
3bf3d361fa
@ -1,7 +1,8 @@
|
|||||||
2001-01-28 Ulrich Drepper <drepper@redhat.com>
|
2001-01-28 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
|
* conform/conformtest.pl: Undo last change. Define
|
||||||
* libio/stdio.h: Always define __need___va_list.
|
$mustprepend{"stdio.h"}.
|
||||||
|
* libio/stdio.h: Define va_list correctly.
|
||||||
|
|
||||||
* conform/data/pthread.h-data: Make priority protocol related
|
* conform/data/pthread.h-data: Make priority protocol related
|
||||||
functions optional. Fix typos.
|
functions optional. Fix typos.
|
||||||
|
@ -56,7 +56,7 @@ $CFLAGS{"XOPEN2K"} = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=600";
|
|||||||
$mustprepend{'regex.h'} = "#include <sys/types.h>\n";
|
$mustprepend{'regex.h'} = "#include <sys/types.h>\n";
|
||||||
$mustprepend{'sched.h'} = "#include <sys/types.h>\n";
|
$mustprepend{'sched.h'} = "#include <sys/types.h>\n";
|
||||||
$mustprepend{'signal.h'} = "#include <pthread.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{'wchar.h'} = "#include <stdarg.h>\n";
|
||||||
$mustprepend{'wordexp.h'} = "#include <stddef.h>\n";
|
$mustprepend{'wordexp.h'} = "#include <stddef.h>\n";
|
||||||
|
|
||||||
@ -668,9 +668,8 @@ while ($#headers >= 0) {
|
|||||||
# Remember that this name is allowed.
|
# Remember that this name is allowed.
|
||||||
push @allow, $type;
|
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");
|
open (TESTFILE, ">$fnamebase.c");
|
||||||
print TESTFILE "$prepend";
|
|
||||||
print TESTFILE "#include <$h>\n";
|
print TESTFILE "#include <$h>\n";
|
||||||
if ($maybe_opaque == 1) {
|
if ($maybe_opaque == 1) {
|
||||||
print TESTFILE "$type *a;\n";
|
print TESTFILE "$type *a;\n";
|
||||||
|
@ -32,9 +32,6 @@ __BEGIN_DECLS
|
|||||||
# define __need_NULL
|
# define __need_NULL
|
||||||
# include <stddef.h>
|
# include <stddef.h>
|
||||||
|
|
||||||
# define __need___va_list
|
|
||||||
# include <stdarg.h>
|
|
||||||
|
|
||||||
# include <bits/types.h>
|
# include <bits/types.h>
|
||||||
# define __need_FILE
|
# define __need_FILE
|
||||||
# define __need___FILE
|
# define __need___FILE
|
||||||
@ -66,6 +63,17 @@ typedef struct _IO_FILE __FILE;
|
|||||||
|
|
||||||
#include <libio.h>
|
#include <libio.h>
|
||||||
|
|
||||||
|
#ifdef __USE_XOPEN
|
||||||
|
# ifdef __GNUC__
|
||||||
|
# ifndef _VA_LIST_DEFINED
|
||||||
|
typedef _G_va_list va_list;
|
||||||
|
# define _VA_LIST_DEFINED
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# include <stdarg.h>
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* The type of the second argument to `fgetpos' and `fsetpos'. */
|
/* The type of the second argument to `fgetpos' and `fsetpos'. */
|
||||||
#ifndef __USE_FILE_OFFSET64
|
#ifndef __USE_FILE_OFFSET64
|
||||||
typedef _G_fpos_t fpos_t;
|
typedef _G_fpos_t fpos_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user