Moved to here from toplevel.
authordrepper <drepper>
Sat, 21 Jun 1997 01:16:34 +0000 (01:16 +0000)
committerdrepper <drepper>
Sat, 21 Jun 1997 01:16:34 +0000 (01:16 +0000)
68 files changed:
include/db.h [new file with mode: 0644]
include/dirent.h [new file with mode: 0644]
include/dlfcn.h [new file with mode: 0644]
include/elf.h [new file with mode: 0644]
include/endian.h [new file with mode: 0644]
include/envz.h [new file with mode: 0644]
include/err.h [new file with mode: 0644]
include/errno.h [new file with mode: 0644]
include/error.h [new file with mode: 0644]
include/fcntl.h [new file with mode: 0644]
include/features.h [new file with mode: 0644]
include/fnmatch.h [new file with mode: 0644]
include/ftw.h [new file with mode: 0644]
include/getopt.h [new file with mode: 0644]
include/glob.h [new file with mode: 0644]
include/gnu-versions.h [new file with mode: 0644]
include/grp.h [new file with mode: 0644]
include/langinfo.h [new file with mode: 0644]
include/libc-symbols.h [new file with mode: 0644]
include/libgen.h [new file with mode: 0644]
include/libintl.h [new file with mode: 0644]
include/limits.h [new file with mode: 0644]
include/linewrap.h [new file with mode: 0644]
include/link.h [new file with mode: 0644]
include/locale.h [new file with mode: 0644]
include/malloc.h [new file with mode: 0644]
include/math.h [new file with mode: 0644]
include/mcheck.h [new file with mode: 0644]
include/memory.h [new file with mode: 0644]
include/monetary.h [new file with mode: 0644]
include/netdb.h [new file with mode: 0644]
include/netgroup.h [new file with mode: 0644]
include/nlist.h [new file with mode: 0644]
include/nss.h [new file with mode: 0644]
include/nsswitch.h [new file with mode: 0644]
include/obstack.h [new file with mode: 0644]
include/poll.h [new file with mode: 0644]
include/printf.h [new file with mode: 0644]
include/pwd.h [new file with mode: 0644]
include/regex.h [new file with mode: 0644]
include/resolv.h [new file with mode: 0644]
include/sched.h [new file with mode: 0644]
include/search.h [new file with mode: 0644]
include/set-hooks.h [new file with mode: 0644]
include/setjmp.h [new file with mode: 0644]
include/sgtty.h [new file with mode: 0644]
include/shadow.h [new file with mode: 0644]
include/signal.h [new file with mode: 0644]
include/stab.h [new file with mode: 0644]
include/stdio.h [new file with mode: 0644]
include/stdlib.h [new file with mode: 0644]
include/string.h [new file with mode: 0644]
include/strings.h [new file with mode: 0644]
include/syscall.h [new file with mode: 0644]
include/sysexits.h [new file with mode: 0644]
include/syslog.h [new file with mode: 0644]
include/tar.h [new file with mode: 0644]
include/termios.h [new file with mode: 0644]
include/time.h [new file with mode: 0644]
include/ttyent.h [new file with mode: 0644]
include/unistd.h [new file with mode: 0644]
include/utime.h [new file with mode: 0644]
include/utmp.h [new file with mode: 0644]
include/values.h [new file with mode: 0644]
include/wchar.h [new file with mode: 0644]
include/wctype.h [new file with mode: 0644]
include/wordexp.h [new file with mode: 0644]
include/xlocale.h [new file with mode: 0644]

diff --git a/include/db.h b/include/db.h
new file mode 100644 (file)
index 0000000..a04f774
--- /dev/null
@@ -0,0 +1 @@
+#include <db/db.h>
diff --git a/include/dirent.h b/include/dirent.h
new file mode 100644 (file)
index 0000000..f59a6b7
--- /dev/null
@@ -0,0 +1 @@
+#include <dirent/dirent.h>
diff --git a/include/dlfcn.h b/include/dlfcn.h
new file mode 100644 (file)
index 0000000..92804a1
--- /dev/null
@@ -0,0 +1 @@
+#include <elf/dlfcn.h>
diff --git a/include/elf.h b/include/elf.h
new file mode 100644 (file)
index 0000000..8a1764f
--- /dev/null
@@ -0,0 +1 @@
+#include <elf/elf.h>
diff --git a/include/endian.h b/include/endian.h
new file mode 100644 (file)
index 0000000..cacf2fe
--- /dev/null
@@ -0,0 +1 @@
+#include <string/endian.h>
diff --git a/include/envz.h b/include/envz.h
new file mode 100644 (file)
index 0000000..0a476ed
--- /dev/null
@@ -0,0 +1 @@
+#include <string/envz.h>
diff --git a/include/err.h b/include/err.h
new file mode 100644 (file)
index 0000000..915720a
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/err.h>
diff --git a/include/errno.h b/include/errno.h
new file mode 100644 (file)
index 0000000..23e0b8f
--- /dev/null
@@ -0,0 +1,73 @@
+/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/*
+ *     ISO C Standard: 4.1.3 Errors    <errno.h>
+ */
+
+#ifndef        _ERRNO_H
+
+/* The includer defined __need_Emath if he wants only the definitions
+   of EDOM and ERANGE, and not everything else.  */
+#ifndef        __need_Emath
+#define        _ERRNO_H        1
+#include <features.h>
+#endif
+
+__BEGIN_DECLS
+
+/* Get the error number constants from the system-specific file.
+   This file will test __need_Emath and _ERRNO_H.  */
+#include <bits/errno.h>
+#undef __need_Emath
+
+#ifdef _ERRNO_H
+
+/* Declare the `errno' variable, unless it's defined as a macro by
+   bits/errno.h.  This is the case in GNU, where it is a per-thread
+   variable.  This redeclaration using the macro still works, but it
+   will be a function declaration without a prototype and may trigger
+   a -Wstrict-prototypes warning.  */
+#ifndef        errno
+extern int errno;
+#endif
+
+#ifdef __USE_GNU
+
+/* The full and simple forms of the name with which the program was
+   invoked.  These variables are set up automatically at startup based on
+   the value of ARGV[0] (this works only if you use GNU ld).  */
+extern char *program_invocation_name, *program_invocation_short_name;
+#endif /* __USE_GNU */
+#endif /* _ERRNO_H */
+
+__END_DECLS
+
+#endif /* _ERRNO_H */
+
+/* The Hurd <bits/errno.h> defines `error_t' as an enumerated type so
+   that printing `error_t' values in the debugger shows the names.  We
+   might need this definition sometimes even if this file was included
+   before.  */
+#if defined __USE_GNU || defined __need_error_t
+# ifndef __error_t_defined
+typedef int error_t;
+#  define __error_t_defined    1
+# endif
+# undef __need_error_t
+#endif
diff --git a/include/error.h b/include/error.h
new file mode 100644 (file)
index 0000000..70f3192
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/error.h>
diff --git a/include/fcntl.h b/include/fcntl.h
new file mode 100644 (file)
index 0000000..bac1e86
--- /dev/null
@@ -0,0 +1 @@
+#include <io/fcntl.h>
diff --git a/include/features.h b/include/features.h
new file mode 100644 (file)
index 0000000..d1f4ae3
--- /dev/null
@@ -0,0 +1,235 @@
+/* Copyright (C) 1991, 92, 93, 95, 96, 97 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef        _FEATURES_H
+#define        _FEATURES_H     1
+
+/* These are defined by the user (or the compiler)
+   to specify the desired environment:
+
+   __STRICT_ANSI__     ISO Standard C.
+   _ISOC9X_SOURCE      Extensions to ISO C 89 from ISO C 9x.
+   _POSIX_SOURCE       IEEE Std 1003.1.
+   _POSIX_C_SOURCE     If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2;
+                       if >=199309L, add IEEE Std 1003.1b-1993
+   _XOPEN_SOURCE       Includes POSIX and XPG things.
+   _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions.
+   _BSD_SOURCE         ISO C, POSIX, and 4.3BSD things.
+   _SVID_SOURCE                ISO C, POSIX, and SVID things.
+   _GNU_SOURCE         All of the above, plus GNU extensions.
+   _REENTRANT          Select additionally reentrant object.
+   _THREAD_SAFE                Same as _REENTRANT, often used by other systems.
+
+   The `-ansi' switch to the GNU C compiler defines __STRICT_ANSI__.
+   If none of these are defined, the default is all but _GNU_SOURCE.
+   If more than one of these are defined, they accumulate.
+   For example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE
+   together give you ISO C, 1003.1, and 1003.2, but nothing else.
+
+   These are defined by this file and are used by the
+   header files to decide what to declare or define:
+
+   __USE_ISOC9X                Define ISO C 9X things.
+   __USE_POSIX         Define IEEE Std 1003.1 things.
+   __USE_POSIX2                Define IEEE Std 1003.2 things.
+   __USE_POSIX199309   Define IEEE Std 1003.1b things.
+   __USE_XOPEN         Define XPG things.
+   __USE_XOPEN_EXTENDED        Define X/Open Unix things.
+   __USE_BSD           Define 4.3BSD things.
+   __USE_SVID          Define SVID things.
+   __USE_MISC          Define things common to BSD and System V Unix.
+   __USE_GNU           Define GNU extensions.
+   __USE_REENTRANT     Define reentrant/thread-safe *_r functions.
+   __FAVOR_BSD         Favor 4.3BSD things in cases of conflict.
+
+   The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are
+   defined by this file unconditionally.  `__GNU_LIBRARY__' is provided
+   only for compatibility.  All new code should use the other symbols
+   to test for features.
+
+   All macros listed above as possibly being defined by this file are
+   explicitly undefined if they are not explicitly defined.
+   Feature-test macros that are not defined by the user or compiler
+   but are implied by the other feature-test macros defined (or by the
+   lack of any definitions) are defined by the file.  */
+
+
+/* Undefine everything, so we get a clean slate.  */
+#undef __USE_ISOC9X
+#undef __USE_POSIX
+#undef __USE_POSIX2
+#undef __USE_POSIX199309
+#undef __USE_XOPEN
+#undef __USE_XOPEN_EXTENDED
+#undef __USE_BSD
+#undef __USE_SVID
+#undef __USE_MISC
+#undef __USE_GNU
+#undef __USE_REENTRANT
+#undef __FAVOR_BSD
+#undef __KERNEL_STRICT_NAMES
+
+/* Suppress kernel-name space pollution unless user expressedly asks
+   for it.  */
+#ifndef _LOOSE_KERNEL_NAMES
+# define __KERNEL_STRICT_NAMES
+#endif
+
+/* Always use ISO C things.  */
+#define        __USE_ANSI      1
+
+
+/* If _BSD_SOURCE was defined by the user, favor BSD over POSIX.  */
+#if defined _BSD_SOURCE && \
+    !(defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || \
+      defined _XOPEN_SOURCE || defined _XOPEN_SOURCE_EXTENDED || \
+      defined _GNU_SOURCE || defined _SVID_SOURCE)
+# define __FAVOR_BSD   1
+#endif
+
+/* If _GNU_SOURCE was defined by the user, turn on all the other features.  */
+#ifdef _GNU_SOURCE
+# undef  _ISOC9X_SOURCE
+# define _ISOC9X_SOURCE        1
+# undef  _POSIX_SOURCE
+# define _POSIX_SOURCE 1
+# undef  _POSIX_C_SOURCE
+# define _POSIX_C_SOURCE       199309L
+# undef  _XOPEN_SOURCE
+# define _XOPEN_SOURCE 1
+# undef  _XOPEN_SOURCE_EXTENDED
+# define _XOPEN_SOURCE_EXTENDED        1
+# undef  _BSD_SOURCE
+# define _BSD_SOURCE   1
+# undef  _SVID_SOURCE
+# define _SVID_SOURCE  1
+#endif
+
+/* If nothing (other than _GNU_SOURCE) is defined,
+   define _BSD_SOURCE and _SVID_SOURCE.  */
+#if (!defined __STRICT_ANSI__ && !defined _ISOC9X_SOURCE && \
+     !defined _POSIX_SOURCE && !defined _POSIX_C_SOURCE && \
+     !defined _XOPEN_SOURCE && !defined _XOPEN_SOURCE_EXTENDED && \
+     !defined _BSD_SOURCE && !defined _SVID_SOURCE)
+# define _BSD_SOURCE   1
+# define _SVID_SOURCE  1
+#endif
+
+/* This is to enable the ISO C 9x extension.  It will go away as soon
+   as this standard is officially released.  */
+#ifdef _ISOC9X_SOURCE
+# define __USE_ISOC9X  1
+#endif
+
+/* If none of the ANSI/POSIX macros are defined, use POSIX.1 and POSIX.2
+   (and IEEE Std 1003.1b-1993 unless _XOPEN_SOURCE is defined).  */
+#if (!defined __STRICT_ANSI__ && !defined _POSIX_SOURCE && \
+     !defined _POSIX_C_SOURCE)
+# define _POSIX_SOURCE 1
+# ifdef _XOPEN_SOURCE
+#  define _POSIX_C_SOURCE      2
+# else
+#  define _POSIX_C_SOURCE      199309L
+# endif
+#endif
+
+#if defined _POSIX_SOURCE || _POSIX_C_SOURCE >= 1 || defined _XOPEN_SOURCE
+# define __USE_POSIX   1
+#endif
+
+#if defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 2 || defined _XOPEN_SOURCE
+# define __USE_POSIX2  1
+#endif
+
+#if defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 199309L
+# define __USE_POSIX199309     1
+#endif
+
+#ifdef _XOPEN_SOURCE
+# define __USE_XOPEN   1
+# ifdef _XOPEN_SOURCE_EXTENDED
+#  define __USE_XOPEN_EXTENDED 1
+# endif
+#endif
+
+#if defined _BSD_SOURCE || defined _SVID_SOURCE
+# define __USE_MISC    1
+#endif
+
+#ifdef _BSD_SOURCE
+# define __USE_BSD     1
+#endif
+
+#ifdef _SVID_SOURCE
+# define __USE_SVID    1
+#endif
+
+#ifdef _GNU_SOURCE
+# define __USE_GNU     1
+#endif
+
+#if defined _REENTRANT || defined _THREAD_SAFE
+# define __USE_REENTRANT       1
+#endif
+
+/* We do support the IEC 559 math functionality, real and complex.  */
+#define __STDC_IEC_559__               1
+#define __STDC_IEC_559_COMPLEX__       1
+
+/* This macro indicates that the installed library is the GNU C Library.
+   For historic reasons the value now is 6 and this will stay from now
+   on.  The use of this variable is deprecated.  Use __GLIBC__ and
+   __GLIBC_MINOR__ now (see below) when you want to test for a specific
+   GNU C library version and use the values in <gnu/lib-names.h> to get
+   the sonames of the shared libraries.  */
+#undef  __GNU_LIBRARY__
+#define __GNU_LIBRARY__ 6
+
+/* Major and minor version number of the GNU C library package.  Use
+   these macros to test for features in specific releases.  */
+#define        __GLIBC__       2
+#define        __GLIBC_MINOR__ 1
+
+
+#if !defined __GNUC__ || __GNUC__ < 2
+/* In GCC version 2, (__extension__ EXPR) will not complain
+   about GCC extensions used in EXPR under -ansi or -pedantic.  */
+# define __extension__
+#endif
+
+
+/* This is here only because every header file already includes this one.  */
+#ifndef __ASSEMBLER__
+# include <sys/cdefs.h>
+#endif
+
+/* This is here only because every header file already includes this one.  */
+#ifndef _LIBC
+/* Get the definitions of all the appropriate `__stub_FUNCTION' symbols.
+   <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub
+   which will always return failure (and set errno to ENOSYS).
+
+   We avoid including <gnu/stubs.h> when compiling the C library itself to
+   avoid a dependency loop.  stubs.h depends on every object file.  If
+   this #include were done for the library source code, then every object
+   file would depend on stubs.h.  */
+
+# include <gnu/stubs.h>
+#endif
+
+#endif /* features.h  */
diff --git a/include/fnmatch.h b/include/fnmatch.h
new file mode 100644 (file)
index 0000000..b12b786
--- /dev/null
@@ -0,0 +1 @@
+#include <posix/fnmatch.h>
diff --git a/include/ftw.h b/include/ftw.h
new file mode 100644 (file)
index 0000000..4fb654c
--- /dev/null
@@ -0,0 +1 @@
+#include <io/ftw.h>
diff --git a/include/getopt.h b/include/getopt.h
new file mode 100644 (file)
index 0000000..74ca6d4
--- /dev/null
@@ -0,0 +1 @@
+#include <posix/getopt.h>
diff --git a/include/glob.h b/include/glob.h
new file mode 100644 (file)
index 0000000..ce047bb
--- /dev/null
@@ -0,0 +1 @@
+#include <posix/glob.h>
diff --git a/include/gnu-versions.h b/include/gnu-versions.h
new file mode 100644 (file)
index 0000000..7085895
--- /dev/null
@@ -0,0 +1,53 @@
+/* Header with interface version macros for library pieces copied elsewhere.
+   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _GNU_VERSIONS_H
+#define        _GNU_VERSIONS_H 1
+
+/* This file exists to define these few macros.  Each specifies a version
+   number associated with the library interface of a piece of the C library
+   which is also distributed with other GNU packages.  These pieces are
+   both part of the GNU C library and also distributed with other GNU
+   packages so those packages may use their facilities on systems lacking
+   the GNU C library.  The source files for each piece surround all their
+   code with `#ifndef ELIDE_CODE' after defining it with this:
+
+   #define OBSTACK_INTERFACE_VERSION 1
+   #if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1
+   #include <gnu-versions.h>
+   #if _GNU_OBSTACK_INTERFACE_VERSION == OBSTACK_INTERFACE_VERSION
+   #define ELIDE_CODE
+   #endif
+   #endif
+
+   This allows those one to avoid compiling those files when part of a GNU
+   package not libc, on a system using a GNU C library that supports the
+   same interface.
+
+   Please preserve the format of the comments after each macro.  And
+   remember, if any of these versions change, the libc.so major version
+   number must change too (so avoid it)!  */
+
+#define _GNU_OBSTACK_INTERFACE_VERSION 2 /* vs malloc/obstack.c */
+#define _GNU_REGEX_INTERFACE_VERSION   1 /* vs posix/regex.c */
+#define _GNU_GLOB_INTERFACE_VERSION    1 /* vs posix/glob.c */
+#define _GNU_GETOPT_INTERFACE_VERSION  2 /* vs posix/getopt.c and
+                                            posix/getopt1.c */
+
+#endif /* gnu-versions.h */
diff --git a/include/grp.h b/include/grp.h
new file mode 100644 (file)
index 0000000..250092c
--- /dev/null
@@ -0,0 +1 @@
+#include <grp/grp.h>
diff --git a/include/langinfo.h b/include/langinfo.h
new file mode 100644 (file)
index 0000000..2a81c6d
--- /dev/null
@@ -0,0 +1 @@
+#include <locale/langinfo.h>
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
new file mode 100644 (file)
index 0000000..07a35f1
--- /dev/null
@@ -0,0 +1,322 @@
+/* Support macros for making weak and strong aliases for symbols,
+   and for using symbol sets and linker warnings with GNU ld.
+   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _LIBC_SYMBOLS_H
+#define _LIBC_SYMBOLS_H        1
+
+/* This file's macros are included implicitly in the compilation of every
+   file in the C library by -imacros.
+
+   We include config.h which is generated by configure.
+   It should define for us the following symbols:
+
+   * HAVE_ASM_SET_DIRECTIVE if we have `.set B, A' instead of `A = B'.
+   * ASM_GLOBAL_DIRECTIVE with `.globl' or `.global'.
+   * HAVE_GNU_LD if using GNU ld, with support for weak symbols in a.out,
+   and for symbol set and warning messages extensions in a.out and ELF.
+   * HAVE_ELF if using ELF, which supports weak symbols using `.weak'.
+   * HAVE_ASM_WEAK_DIRECTIVE if we have weak symbols using `.weak'.
+   * HAVE_ASM_WEAKEXT_DIRECTIVE if we have weak symbols using `.weakext'.
+
+   */
+
+/* This is defined for the compilation of all C library code.  features.h
+   tests this to avoid inclusion of stubs.h while compiling the library,
+   before stubs.h has been generated.  Some library code that is shared
+   with other packages also tests this symbol to see if it is being
+   compiled as part of the C library.  We must define this before including
+   config.h, because it makes some definitions conditional on whether libc
+   itself is being compiled, or just some generator program.  */
+#define _LIBC  1
+
+/* Enable declarations of GNU extensions, since we are compiling them.  */
+#define _GNU_SOURCE    1
+/* And we also need the data for the reentrant functions.  */
+#define _REENTRANT     1
+
+#include <config.h>
+/*
+\f
+*/
+
+#ifndef        ASSEMBLER
+
+/* Define the macros `_' and `N_' for conveniently marking translatable
+   strings in the libc source code.  */
+
+#define N_(msgid)      msgid
+
+#include <libintl.h>
+extern const char _libc_intl_domainname[];
+
+#ifdef dgettext
+/* This is defined as an optimizing macro, so use it.  */
+#define        _(msgid)        dgettext (_libc_intl_domainname, (msgid))
+#else
+/* Be sure to use only the __ name when `dgettext' is a plain function
+   instead of an optimizing macro.  */
+#define        _(msgid)        __dgettext (_libc_intl_domainname, (msgid))
+#endif
+
+#endif
+
+/*
+\f
+*/
+/* The symbols in all the user (non-_) macros are C symbols.
+   HAVE_GNU_LD without HAVE_ELF implies a.out.  */
+
+#if defined (HAVE_ASM_WEAK_DIRECTIVE) || defined (HAVE_ASM_WEAKEXT_DIRECTIVE)
+#define HAVE_WEAK_SYMBOLS
+#endif
+
+#ifndef __SYMBOL_PREFIX
+#ifdef NO_UNDERSCORES
+#define __SYMBOL_PREFIX
+#else
+#define __SYMBOL_PREFIX "_"
+#endif
+#endif
+
+#ifndef C_SYMBOL_NAME
+#ifdef NO_UNDERSCORES
+#define C_SYMBOL_NAME(name) name
+#else
+#define C_SYMBOL_NAME(name) _##name
+#endif
+#endif
+
+
+/* Define ALIAS as a strong alias for ORIGINAL.  */
+#ifdef HAVE_ASM_SET_DIRECTIVE
+#define strong_alias_asm(original, alias)      \
+  ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME (alias);  \
+  .set C_SYMBOL_NAME (alias),C_SYMBOL_NAME (original)
+#ifdef ASSEMBLER
+#define strong_alias(original, alias)  strong_alias_asm (original, alias)
+#else
+#define strong_alias(original, alias)  \
+  asm (__string_1 (ASM_GLOBAL_DIRECTIVE) " " __SYMBOL_PREFIX #alias "\n" \
+       ".set " __SYMBOL_PREFIX #alias "," __SYMBOL_PREFIX #original);
+#endif
+#else
+#define strong_alias_asm(original, alias)      \
+  ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME (alias);  \
+  C_SYMBOL_NAME (alias) = C_SYMBOL_NAME (original)
+#ifdef ASSEMBLER
+#define strong_alias(original, alias)  strong_alias_asm (original, alias)
+#else
+#define strong_alias(original, alias)  \
+  asm (__string_1 (ASM_GLOBAL_DIRECTIVE) " " __SYMBOL_PREFIX #alias "\n" \
+       __SYMBOL_PREFIX #alias " = " __SYMBOL_PREFIX #original);
+#endif
+#endif
+
+/* Helper macros used above.  */
+#define __string_1(x) __string_0(x)
+#define __string_0(x) #x
+
+
+#ifdef HAVE_WEAK_SYMBOLS
+
+#ifdef ASSEMBLER
+
+#ifdef HAVE_ASM_WEAKEXT_DIRECTIVE
+
+/* Define ALIAS as a weak alias for ORIGINAL.
+   If weak aliases are not available, this defines a strong alias.  */
+#define weak_alias(original, alias)    \
+  .weakext C_SYMBOL_NAME (alias), C_SYMBOL_NAME (original)
+
+/* Declare SYMBOL as weak undefined symbol (resolved to 0 if not defined).  */
+#define weak_extern(symbol)    \
+  .weakext C_SYMBOL_NAME (symbol)
+
+#else /* ! HAVE_ASM_WEAKEXT_DIRECTIVE */
+
+/* Define ALIAS as a weak alias for ORIGINAL.
+   If weak aliases are not available, this defines a strong alias.  */
+#define weak_alias(original, alias)    \
+  .weak C_SYMBOL_NAME (alias); \
+  C_SYMBOL_NAME (alias) = C_SYMBOL_NAME (original)
+
+
+/* Declare SYMBOL as weak undefined symbol (resolved to 0 if not defined).  */
+#define weak_extern(symbol)    \
+  .weak C_SYMBOL_NAME (symbol)
+
+#endif /* ! HAVE_ASM_WEAKEXT_DIRECTIVE */
+
+#else /* ! ASSEMBLER */
+
+#ifdef HAVE_ASM_WEAKEXT_DIRECTIVE
+#define weak_extern_asm(symbol)        asm (".weakext " __SYMBOL_PREFIX #symbol);
+#define weak_alias_asm(original, alias) \
+  asm (".weakext " __SYMBOL_PREFIX #alias ", " __SYMBOL_PREFIX #original);
+#else /* ! HAVE_ASM_WEAKEXT_DIRECTIVE */
+#define weak_extern_asm(symbol)        asm (".weak " __SYMBOL_PREFIX #symbol);
+#define weak_alias_asm(original, alias) \
+  asm (".weak " __SYMBOL_PREFIX #alias "\n" \
+       __SYMBOL_PREFIX #alias " = " __SYMBOL_PREFIX #original);
+#endif /* ! HAVE_ASM_WEAKEXT_DIRECTIVE */
+
+#define weak_alias(o, a) weak_alias_asm (o, a)
+#define weak_extern(symbol) weak_extern_asm (symbol)
+
+#endif /* ! ASSEMBLER */
+#else
+#define        weak_alias(original, alias) strong_alias(original, alias)
+#define weak_extern(symbol)    /* Do nothing; the ref will be strong.  */
+#endif
+
+
+#if (!defined (ASSEMBLER) && \
+     (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)))
+/* GCC 2.7 and later has special syntax for weak symbols and aliases.
+   Using that is better when possible, because the compiler and assembler
+   are better clued in to what we are doing.  */
+#undef strong_alias
+#define strong_alias(name, aliasname) \
+  extern __typeof (name) aliasname __attribute__ ((alias (#name)));
+
+#ifdef HAVE_WEAK_SYMBOLS
+#undef weak_alias
+#define weak_alias(name, aliasname) \
+  extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
+
+/* This comes between the return type and function name in
+   a function definition to make that definition weak.  */
+#define weak_function __attribute__ ((weak))
+#define weak_const_function __attribute__ ((weak, __const__))
+
+#endif /* HAVE_WEAK_SYMBOLS.  */
+#endif /* Not ASSEMBLER, and GCC 2.7 or later.  */
+
+
+#ifndef weak_function
+/* If we do not have the __attribute__ ((weak)) syntax, there is no way we
+   can define functions as weak symbols.  The compiler will emit a `.globl'
+   directive for the function symbol, and a `.weak' directive in addition
+   will produce an error from the assembler.  */
+#define weak_function /* empty */
+#define weak_const_function /* empty */
+#endif
+
+
+/* When a reference to SYMBOL is encountered, the linker will emit a
+   warning message MSG.  */
+#ifdef HAVE_GNU_LD
+#ifdef HAVE_ELF
+
+/* We want the .gnu.warning.SYMBOL section to be unallocated.  */
+#ifdef HAVE_ASM_PREVIOUS_DIRECTIVE
+#define __make_section_unallocated(section_string)     \
+  asm(".section " section_string "; .previous");
+#elif defined (HAVE_ASM_POPSECTION_DIRECTIVE)
+#define __make_section_unallocated(section_string)     \
+  asm(".pushsection " section_string "; .popsection");
+#else
+#define __make_section_unallocated(section_string)
+#endif
+
+#define link_warning(symbol, msg)                      \
+  __make_section_unallocated (".gnu.warning." #symbol) \
+  static const char __evoke_link_warning_##symbol[]    \
+    __attribute__ ((section (".gnu.warning." #symbol))) = msg;
+#else
+#define link_warning(symbol, msg)              \
+  asm(".stabs \"" msg "\",30,0,0,0\n"  \
+      ".stabs \"" __SYMBOL_PREFIX #symbol "\",1,0,0,0\n");
+#endif
+#else
+/* We will never be heard; they will all die horribly.  */
+#define link_warning(symbol, msg)
+#endif
+
+/* A canned warning for sysdeps/stub functions.  */
+#define        stub_warning(name) \
+  link_warning (name, \
+               "warning: " #name " is not implemented and will always fail")
+
+/*
+\f
+*/
+
+#ifdef HAVE_GNU_LD
+
+/* Symbol set support macros.  */
+
+#ifdef HAVE_ELF
+
+/* Make SYMBOL, which is in the text segment, an element of SET.  */
+#define text_set_element(set, symbol)  _elf_set_element(set, symbol)
+/* Make SYMBOL, which is in the data segment, an element of SET.  */
+#define data_set_element(set, symbol)  _elf_set_element(set, symbol)
+/* Make SYMBOL, which is in the bss segment, an element of SET.  */
+#define bss_set_element(set, symbol)   _elf_set_element(set, symbol)
+
+/* These are all done the same way in ELF.
+   There is a new section created for each set.  */
+#ifdef PIC
+/* When building a shared library, make the set section writable,
+   because it will need to be relocated at run time anyway.  */
+#define _elf_set_element(set, symbol) \
+  static const void *__elf_set_##set##_element_##symbol##__ \
+    __attribute__ ((unused, section (#set))) = &(symbol)
+#else
+#define _elf_set_element(set, symbol) \
+  static const void *const __elf_set_##set##_element_##symbol##__ \
+    __attribute__ ((unused, section (#set))) = &(symbol)
+#endif
+
+/* Define SET as a symbol set.  This may be required (it is in a.out) to
+   be able to use the set's contents.  */
+#define symbol_set_define(set) symbol_set_declare(set)
+
+/* Declare SET for use in this module, if defined in another module.  */
+#define symbol_set_declare(set)        \
+  extern void *const __start_##set __attribute__ ((__weak__));         \
+  extern void *const __stop_##set __attribute__ ((__weak__));          \
+  weak_extern (__start_##set) weak_extern (__stop_##set)
+
+/* Return a pointer (void *const *) to the first element of SET.  */
+#define symbol_set_first_element(set)  (&__start_##set)
+
+/* Return true iff PTR (a void *const *) has been incremented
+   past the last element in SET.  */
+#define symbol_set_end_p(set, ptr)     ((ptr) >= &__stop_##set)
+
+#else  /* Not ELF: a.out.  */
+
+#define        text_set_element(set, symbol)   \
+  asm(".stabs \"" __SYMBOL_PREFIX #set "\",23,0,0," __SYMBOL_PREFIX #symbol)
+#define        data_set_element(set, symbol)   \
+  asm(".stabs \"" __SYMBOL_PREFIX #set "\",25,0,0," __SYMBOL_PREFIX #symbol)
+#define        bss_set_element(set, symbol)    ?error Must use initialized data.
+#define symbol_set_define(set)         void *const (set)[1];
+#define symbol_set_declare(set)                extern void *const (set)[1];
+
+#define symbol_set_first_element(set)  &(set)[1]
+#define symbol_set_end_p(set, ptr)     (*(ptr) == 0)
+
+#endif /* ELF.  */
+#endif /* Have GNU ld.  */
+
+#endif /* libc-symbols.h */
diff --git a/include/libgen.h b/include/libgen.h
new file mode 100644 (file)
index 0000000..4795d8e
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/libgen.h>
diff --git a/include/libintl.h b/include/libintl.h
new file mode 100644 (file)
index 0000000..be1062c
--- /dev/null
@@ -0,0 +1 @@
+#include <intl/libintl.h>
diff --git a/include/limits.h b/include/limits.h
new file mode 100644 (file)
index 0000000..31d8792
--- /dev/null
@@ -0,0 +1,123 @@
+/* Copyright (C) 1991, 1992, 1996 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/*
+ *     ISO C Standard: 4.14/2.2.4.2 Limits of integral types   <limits.h>
+ */
+
+#include <features.h>
+
+#ifdef __USE_POSIX
+/* POSIX adds things to <limits.h>.  */
+# include <bits/posix1_lim.h>
+#endif
+
+#ifdef __USE_POSIX2
+# include <bits/posix2_lim.h>
+#endif
+
+#ifdef __USE_XOPEN
+# include <bits/xopen_lim.h>
+#endif
+
+
+#if    __GNUC__ >= 2
+
+ /* Get the compiler's limits.h, which defines all the ANSI constants.  */
+ #ifndef _LIBC_LIMITS_H_
+ #define _LIBC_LIMITS_H_       /* This tells it not to look for another.  */
+ #endif
+ #ifndef _GCC_LIMITS_H_                /* This is what GCC's file defines.  */
+ #include_next <limits.h>
+ #endif
+
+#else  /* Not GCC 2.  */
+
+/* We only protect from multiple inclusion here, because all the other
+   #include's protect themselves, and in GCC 2 we may #include_next through
+   multiple copies of this file before we get to GCC's.  */
+# ifndef _LIMITS_H
+#  define _LIMITS_H    1
+
+/* We don't have #include_next.
+   Define ANSI <limits.h> for standard 32-bit words.  */
+
+/* These assume 8-bit `char's, 16-bit `short int's,
+   and 32-bit `int's and `long int's.  */
+
+/* Number of bits in a `char'. */
+#  define CHAR_BIT     8
+
+/* Maximum length of any multibyte character in any locale.  */
+#  define MB_LEN_MAX   6
+
+/* Minimum and maximum values a `signed char' can hold.  */
+#  define SCHAR_MIN    (-128)
+#  define SCHAR_MAX    127
+
+/* Maximum value an `unsigned char' can hold.  (Minimum is 0.)  */
+#  define UCHAR_MAX    255
+
+/* Minimum and maximum values a `char' can hold.  */
+#  ifdef __CHAR_UNSIGNED__
+#   define CHAR_MIN    0
+#   define CHAR_MAX    UCHAR_MAX
+#  else
+#   define CHAR_MIN    SCHAR_MIN
+#   define CHAR_MAX    SCHAR_MAX
+#  endif
+
+/* Minimum and maximum values a `signed short int' can hold.  */
+#  define SHRT_MIN     (-32768)
+#  define SHRT_MAX     32767
+
+/* Maximum value an `unsigned short int' can hold.  (Minimum is 0.)  */
+#  define USHRT_MAX    65535
+
+/* Minimum and maximum values a `signed int' can hold.  */
+#  define INT_MIN      (- INT_MAX - 1)
+#  define INT_MAX      2147483647
+
+/* Maximum value an `unsigned int' can hold.  (Minimum is 0.)  */
+#  ifdef __STDC__
+#   define UINT_MAX    4294967295U
+#  else
+#   define UINT_MAX    4294967295
+#  endif
+
+/* Minimum and maximum values a `signed long int' can hold.  */
+#  ifdef __alpha__
+#   define LONG_MAX    9223372036854775807L
+#  else
+#   define LONG_MAX    2147483647L
+#  endif
+#  define LONG_MIN     (- LONG_MAX - 1L)
+
+/* Maximum value an `unsigned long int' can hold.  (Minimum is 0.)  */
+#  ifdef __alpha__
+#   define ULONG_MAX   18446744073709551615UL
+#  else
+#   ifdef __STDC__
+#    define ULONG_MAX  4294967295UL
+#   else
+#    define ULONG_MAX  4294967295L
+#   endif
+#  endif
+
+# endif        /* limits.h  */
+#endif /* GCC 2.  */
diff --git a/include/linewrap.h b/include/linewrap.h
new file mode 100644 (file)
index 0000000..03ca090
--- /dev/null
@@ -0,0 +1 @@
+#include "stdio/linewrap.h"
diff --git a/include/link.h b/include/link.h
new file mode 100644 (file)
index 0000000..0999f0b
--- /dev/null
@@ -0,0 +1 @@
+#include <elf/link.h>
diff --git a/include/locale.h b/include/locale.h
new file mode 100644 (file)
index 0000000..6e0bd91
--- /dev/null
@@ -0,0 +1 @@
+#include <locale/locale.h>
diff --git a/include/malloc.h b/include/malloc.h
new file mode 100644 (file)
index 0000000..448e0a8
--- /dev/null
@@ -0,0 +1 @@
+#include <malloc/malloc.h>
diff --git a/include/math.h b/include/math.h
new file mode 100644 (file)
index 0000000..f837293
--- /dev/null
@@ -0,0 +1 @@
+#include <math/math.h>
diff --git a/include/mcheck.h b/include/mcheck.h
new file mode 100644 (file)
index 0000000..90a48d5
--- /dev/null
@@ -0,0 +1 @@
+#include <malloc/mcheck.h>
diff --git a/include/memory.h b/include/memory.h
new file mode 100644 (file)
index 0000000..1ec3e63
--- /dev/null
@@ -0,0 +1 @@
+#include <string/memory.h>
diff --git a/include/monetary.h b/include/monetary.h
new file mode 100644 (file)
index 0000000..4735dc6
--- /dev/null
@@ -0,0 +1 @@
+#include <stdlib/monetary.h>
diff --git a/include/netdb.h b/include/netdb.h
new file mode 100644 (file)
index 0000000..e2e1868
--- /dev/null
@@ -0,0 +1 @@
+#include <resolv/netdb.h>
diff --git a/include/netgroup.h b/include/netgroup.h
new file mode 100644 (file)
index 0000000..4b2b284
--- /dev/null
@@ -0,0 +1 @@
+#include <inet/netgroup.h>
diff --git a/include/nlist.h b/include/nlist.h
new file mode 100644 (file)
index 0000000..897a93c
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/nlist.h>
diff --git a/include/nss.h b/include/nss.h
new file mode 100644 (file)
index 0000000..0541335
--- /dev/null
@@ -0,0 +1 @@
+#include <nss/nss.h>
diff --git a/include/nsswitch.h b/include/nsswitch.h
new file mode 100644 (file)
index 0000000..a876d23
--- /dev/null
@@ -0,0 +1 @@
+#include <nss/nsswitch.h>
diff --git a/include/obstack.h b/include/obstack.h
new file mode 100644 (file)
index 0000000..2339cbc
--- /dev/null
@@ -0,0 +1 @@
+#include <malloc/obstack.h>
diff --git a/include/poll.h b/include/poll.h
new file mode 100644 (file)
index 0000000..778488a
--- /dev/null
@@ -0,0 +1 @@
+#include <io/poll.h>
diff --git a/include/printf.h b/include/printf.h
new file mode 100644 (file)
index 0000000..777e958
--- /dev/null
@@ -0,0 +1 @@
+#include <stdio-common/printf.h>
diff --git a/include/pwd.h b/include/pwd.h
new file mode 100644 (file)
index 0000000..28d59a6
--- /dev/null
@@ -0,0 +1 @@
+#include <pwd/pwd.h>
diff --git a/include/regex.h b/include/regex.h
new file mode 100644 (file)
index 0000000..22bfc89
--- /dev/null
@@ -0,0 +1 @@
+#include <posix/regex.h>
diff --git a/include/resolv.h b/include/resolv.h
new file mode 100644 (file)
index 0000000..95b9eeb
--- /dev/null
@@ -0,0 +1 @@
+#include <resolv/resolv.h>
diff --git a/include/sched.h b/include/sched.h
new file mode 100644 (file)
index 0000000..b9bebc9
--- /dev/null
@@ -0,0 +1 @@
+#include "posix/sched.h"
diff --git a/include/search.h b/include/search.h
new file mode 100644 (file)
index 0000000..ff24508
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/search.h>
diff --git a/include/set-hooks.h b/include/set-hooks.h
new file mode 100644 (file)
index 0000000..995bdf4
--- /dev/null
@@ -0,0 +1,57 @@
+/* Macros for using symbol sets for running lists of functions.
+   Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _SET_HOOKS_H
+#define _SET_HOOKS_H 1
+
+#define __need_size_t
+#include <stddef.h>
+#include <sys/cdefs.h>
+
+/* Define a hook variable called NAME.  Functions put on this hook take
+   arguments described by PROTO.  Use `text_set_element (NAME, FUNCTION)'
+   from gnu-stabs.h to add a function to the hook.  */
+
+#define DEFINE_HOOK(NAME, PROTO)               \
+  typedef void __##NAME##_hook_function_t PROTO; \
+  symbol_set_define (NAME)
+
+#define DECLARE_HOOK(NAME, PROTO)              \
+  typedef void __##NAME##_hook_function_t PROTO;\
+  symbol_set_declare (NAME)
+
+/* Run all the functions hooked on the set called NAME.
+   Each function is called like this: `function ARGS'.  */
+
+#define RUN_HOOK(NAME, ARGS) \
+do {                                                                         \
+  void *const *ptr;                                                          \
+  for (ptr = symbol_set_first_element (NAME);                                \
+       ! symbol_set_end_p (NAME, ptr); ++ptr)                                \
+    (*(__##NAME##_hook_function_t *) *ptr) ARGS;                             \
+} while (0)
+
+/* Define a hook variable with NAME and PROTO, and a function called RUNNER
+   which calls each function on the hook in turn, with ARGS.  */
+
+#define DEFINE_HOOK_RUNNER(name, runner, proto, args) \
+DEFINE_HOOK (name, proto); void runner proto { RUN_HOOK (name, args); }
+
+
+#endif /* set-hooks.h */
diff --git a/include/setjmp.h b/include/setjmp.h
new file mode 100644 (file)
index 0000000..c78a964
--- /dev/null
@@ -0,0 +1 @@
+#include <setjmp/setjmp.h>
diff --git a/include/sgtty.h b/include/sgtty.h
new file mode 100644 (file)
index 0000000..ffb6240
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/sgtty.h>
diff --git a/include/shadow.h b/include/shadow.h
new file mode 100644 (file)
index 0000000..4848197
--- /dev/null
@@ -0,0 +1 @@
+#include <shadow/shadow.h>
diff --git a/include/signal.h b/include/signal.h
new file mode 100644 (file)
index 0000000..d9939c4
--- /dev/null
@@ -0,0 +1 @@
+#include <signal/signal.h>
diff --git a/include/stab.h b/include/stab.h
new file mode 100644 (file)
index 0000000..2e278fc
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/stab.h>
diff --git a/include/stdio.h b/include/stdio.h
new file mode 100644 (file)
index 0000000..457eabe
--- /dev/null
@@ -0,0 +1,5 @@
+#ifdef USE_IN_LIBIO
+#include <libio/stdio.h>
+#else
+#include <stdio/stdio.h>
+#endif
diff --git a/include/stdlib.h b/include/stdlib.h
new file mode 100644 (file)
index 0000000..c0887a9
--- /dev/null
@@ -0,0 +1 @@
+#include <stdlib/stdlib.h>
diff --git a/include/string.h b/include/string.h
new file mode 100644 (file)
index 0000000..b557c65
--- /dev/null
@@ -0,0 +1 @@
+#include <string/string.h>
diff --git a/include/strings.h b/include/strings.h
new file mode 100644 (file)
index 0000000..b1bb339
--- /dev/null
@@ -0,0 +1 @@
+#include <string/strings.h>
diff --git a/include/syscall.h b/include/syscall.h
new file mode 100644 (file)
index 0000000..8c53cfb
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/syscall.h>
diff --git a/include/sysexits.h b/include/sysexits.h
new file mode 100644 (file)
index 0000000..139e3cf
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/sysexits.h>
diff --git a/include/syslog.h b/include/syslog.h
new file mode 100644 (file)
index 0000000..4cfb772
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/syslog.h>
diff --git a/include/tar.h b/include/tar.h
new file mode 100644 (file)
index 0000000..05efa1f
--- /dev/null
@@ -0,0 +1 @@
+#include <posix/tar.h>
diff --git a/include/termios.h b/include/termios.h
new file mode 100644 (file)
index 0000000..3f754ac
--- /dev/null
@@ -0,0 +1 @@
+#include <termios/termios.h>
diff --git a/include/time.h b/include/time.h
new file mode 100644 (file)
index 0000000..b2a33bf
--- /dev/null
@@ -0,0 +1 @@
+#include <time/time.h>
diff --git a/include/ttyent.h b/include/ttyent.h
new file mode 100644 (file)
index 0000000..ba790e3
--- /dev/null
@@ -0,0 +1 @@
+#include <misc/ttyent.h>
diff --git a/include/unistd.h b/include/unistd.h
new file mode 100644 (file)
index 0000000..77901d9
--- /dev/null
@@ -0,0 +1 @@
+#include <posix/unistd.h>
diff --git a/include/utime.h b/include/utime.h
new file mode 100644 (file)
index 0000000..6dadc53
--- /dev/null
@@ -0,0 +1 @@
+#include <io/utime.h>
diff --git a/include/utmp.h b/include/utmp.h
new file mode 100644 (file)
index 0000000..c0c21a4
--- /dev/null
@@ -0,0 +1 @@
+#include <login/utmp.h>
diff --git a/include/values.h b/include/values.h
new file mode 100644 (file)
index 0000000..2642172
--- /dev/null
@@ -0,0 +1,69 @@
+/* Old compatibility names for <limits.h> and <float.h> constants.
+   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/* This interface is obsolete.  New programs should use
+   <limits.h> and/or <float.h> instead of <values.h>.  */
+
+#ifndef        _VALUES_H
+#define        _VALUES_H       1
+
+#include <features.h>
+
+#include <limits.h>
+
+#define _TYPEBITS(type)        (sizeof (type) * CHAR_BIT)
+
+#define CHARBITS       _TYPEBITS (char)
+#define SHORTBITS      _TYPEBITS (short int)
+#define INTBITS                _TYPEBITS (int)
+#define LONGBITS       _TYPEBITS (long int)
+#define PTRBITS                _TYPEBITS (char *)
+#define DOUBLEBITS     _TYPEBITS (double)
+#define FLOATBITS      _TYPEBITS (float)
+
+#define MINSHORT       SHRT_MIN
+#define        MININT          INT_MIN
+#define        MINLONG         LONG_MIN
+
+#define        MAXSHORT        SHRT_MAX
+#define        MAXINT          INT_MAX
+#define        MAXLONG         LONG_MAX
+
+#define HIBITS         MINSHORT
+#define HIBITL         MINLONG
+
+
+#include <float.h>
+
+#define        MAXDOUBLE       DBL_MAX
+#define        MAXFLOAT        FLT_MAX
+#define        MINDOUBLE       DBL_MIN
+#define        MINFLOAT        FLT_MIN
+#define        DMINEXP         DBL_MIN_EXP
+#define        FMINEXP         FLT_MIN_EXP
+#define        DMAXEXP         DBL_MAX_EXP
+#define        FMAXEXP         FLT_MAX_EXP
+
+
+#ifdef __USE_MISC
+/* Some systems define this name instead of CHAR_BIT or CHARBITS.  */
+#define BITSPERBYTE    CHAR_BIT
+#endif
+
+#endif /* values.h */
diff --git a/include/wchar.h b/include/wchar.h
new file mode 100644 (file)
index 0000000..c87ffb8
--- /dev/null
@@ -0,0 +1 @@
+#include <wcsmbs/wchar.h>
diff --git a/include/wctype.h b/include/wctype.h
new file mode 100644 (file)
index 0000000..c76f50c
--- /dev/null
@@ -0,0 +1 @@
+#include <wctype/wctype.h>
diff --git a/include/wordexp.h b/include/wordexp.h
new file mode 100644 (file)
index 0000000..64e036e
--- /dev/null
@@ -0,0 +1 @@
+#include <posix/wordexp.h>
diff --git a/include/xlocale.h b/include/xlocale.h
new file mode 100644 (file)
index 0000000..5280ef0
--- /dev/null
@@ -0,0 +1 @@
+#include <locale/xlocale.h>