diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-06-21 02:59:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-06-21 02:59:26 +0000 |
commit | 5107cf1d7d27f17c6de68ec15a8e8d9dd5b471c1 (patch) | |
tree | dbe8fd6c6a69eac9e3e6f465ab6396d47f232e6f /include | |
parent | d705269e75ff9846000abea981774b381b076482 (diff) | |
download | glibc-5107cf1d7d27f17c6de68ec15a8e8d9dd5b471c1.tar.gz |
Update.cvs/libc-ud-970620cvs/libc-970802cvs/libc-970801cvs/libc-970731cvs/libc-970730cvs/libc-970729cvs/libc-970728cvs/libc-970727cvs/libc-970726cvs/libc-970725cvs/libc-970724cvs/libc-970723cvs/libc-970722cvs/libc-970721cvs/libc-970720cvs/libc-970719cvs/libc-970718cvs/libc-970717cvs/libc-970715cvs/libc-970713cvs/libc-970710cvs/libc-970709cvs/libc-970708cvs/libc-970707cvs/libc-970705cvs/libc-970704cvs/libc-970703cvs/libc-970702cvs/libc-970701cvs/libc-970630cvs/libc-970629cvs/libc-970628cvs/libc-970627cvs/libc-970626cvs/libc-970625cvs/libc-970624cvs/libc-970622cvs/libc-970621
1997-06-21 02:48 Ulrich Drepper <drepper@cygnus.com>
* config.h.in: Add DO_STATIC_NSS.
* config.make.in: Add build-static-nss.
* elf/eval.c: Use __getdelim instead of __getline.
* locale/programs/locale.c: Correct comment.
* manual/libc.texinfo: Update copyright and date.
Remove A4 option.
* sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL
for gamma overflow.
* sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour.
* sysdeps/libm-ieee754/w_gammaf.c: Likewise.
* sysdeps/libm-ieee754/w_gammalp.c: Likewise.
* po/ko.po: Update.
1997-06-13 10:06 Richard Henderson <rth@tamu.edu>
The Great Bit File Move:
* configure.in (AC_INIT): Look in include/ for features.h.
(sysnames): Add include as the final search directory.
(AC_OUTPUT): Create a bits directory in the build directory.
* Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h.
* Makefile: Make sure the target directory exists when installing
<gnu/stubs.h> and <gnu/lib-names.h>.
* csu/Makefile: Use $(compile.S) and $(compile.c) instead of
invoking $(CC) directly, as the former have the full include path.
* ansidecl.h: Removed.
* aliases.h: Moved to include/.
* alloca.h: Likewise.
* argp.h: Likewise.
* argz.h: Likewise.
* arpa/ftp.h: Likewise.
* arpa/inet.h: Likewise.
* arpa/nameser.h: Likewise.
* arpa/telnet.h: Likewise.
* arpa/tftp.h: Likewise.
* assert.h: Likewise.
* ctype.h: Likewise.
* db.h: Likewise.
* dirent.h: Likewise.
* dlfcn.h: Likewise.
* elf.h: Likewise.
* endian.h: Likewise.
* envz.h: Likewise.
* err.h: Likewise.
* errno.h: Likewise.
* error.h: Likewise.
* fcntl.h: Likewise.
* features.h: Likewise.
* fnmatch.h: Likewise.
* ftw.h: Likewise.
* getopt.h: Likewise.
* glob.h: Likewise.
* gnu-versions.h: Likewise.
* grp.h: Likewise.
* langinfo.h: Likewise.
* libc-symbols.h: Likewise.
* libgen.h: Likewise.
* libintl.h: Likewise.
* limits.h: Likewise.
* linewrap.h: Likewise.
* link.h: Likewise.
* locale.h: Likewise.
* malloc.h: Likewise.
* math.h: Likewise.
* mathcalls.h: Likewise.
* mcheck.h: Likewise.
* memory.h: Likewise.
* netdb.h: Likewise.
* netgroup.h: Likewise.
* netinet/ether.h: Likewise.
* netinet/in.h: Likewise.
* nlist.h: Likewise.
* nss.h: Likewise.
* nsswitch.h: Likewise.
* obstack.h: Likewise.
* poll.h: Likewise.
* posix1_lim.h: Likewise.
* posix2_lim.h: Likewise.
* printf.h: Likewise.
* protocols/routed.h: Likewise.
* protocols/rwhod.h: Likewise.
* protocols/talkd.h: Likewise.
* protocols/timed.h: Likewise.
* pwd.h: Likewise.
* regex.h: Likewise.
* resolv.h: Likewise.
* rpc/auth_unix.h: Likewise.
* rpc/clnt.h: Likewise.
* rpc/netdb.h: Likewise.
* rpc/pmap_clnt.h: Likewise.
* rpc/pmap_prot.h: Likewise.
* rpc/pmap_rmt.h: Likewise.
* rpc/rpc.h: Likewise.
* rpc/rpc_msg.h: Likewise.
* rpc/svc.h: Likewise.
* rpc/svc_auth.h: Likewise.
* rpc/types.h: Likewise.
* rpc/xdr.h: Likewise.
* sched.h: Likewise.
* search.h: Likewise.
* set-hooks.h: Likewise.
* setjmp.h: Likewise.
* sgtty.h: Likewise.
* shadow.h: Likewise.
* signal.h: Likewise.
* stab.def: Likewise.
* stab.h: Likewise.
* stdio.h: Likewise.
* stdlib.h: Likewise.
* string.h: Likewise.
* strings.h: Likewise.
* sys/bitypes.h: Likewise.
* sys/cdefs.h: Likewise.
* sys/dir.h: Likewise.
* sys/errno.h: Likewise.
* sys/fcntl.h: Likewise.
* sys/file.h: Likewise.
* sys/gmon.h: Likewise.
* sys/ioctl.h: Likewise.
* sys/ipc.h: Likewise.
* sys/msg.h: Likewise.
* sys/poll.h: Likewise.
* sys/queue.h: Likewise.
* sys/resource.h: Likewise.
* sys/select.h: Likewise.
* sys/sem.h: Likewise.
* sys/shm.h: Likewise.
* sys/signal.h: Likewise.
* sys/socket.h: Likewise.
* sys/stat.h: Likewise.
* sys/statfs.h: Likewise.
* sys/syslog.h: Likewise.
* sys/termios.h: Likewise.
* sys/time.h: Likewise.
* sys/timeb.h: Likewise.
* sys/times.h: Likewise.
* sys/types.h: Likewise.
* sys/uio.h: Likewise.
* sys/un.h: Likewise.
* sys/unistd.h: Likewise.
* sys/utsname.h: Likewise.
* sys/vlimit.h: Likewise.
* sys/vtimes.h: Likewise.
* sys/wait.h: Likewise.
* syscall.h: Likewise.
* syslog.h: Likewise.
* tar.h: Likewise.
* termios.h: Likewise.
* time.h: Likewise.
* ttyent.h: Likewise.
* unistd.h: Likewise.
* utime.h: Likewise.
* utmp.h: Likewise.
* values.h: Likewise.
* wchar.h: Likewise.
* wctype.h: Likewise.
* wordexp.h: Likewise.
* xlocale.h: Likewise.
* xopen_lim.h: Likewise.
* linuxthreads/sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
* linuxthreads/sysdeps/powerpc/semaphorebits.h: Likewise.
* linuxthreads/sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
* linuxthreads/sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
* linuxthreads/sysdeps/pthread/libc-lock.h: -> bits/
* sysdeps/mach/libc-lock.h: Likewise.
* sysdeps/stub/libc-lock.h: Likewise.
* linuxthreads/sysdeps/pthread/stdio-lock.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/local_lim.h: Likewise.
* sysdeps/mach/hurd/local_lim.h: Likewise.
* sysdeps/stub/local_lim.h: Likewise.
* sysdeps/unix/sysv/linux/local_lim.h: Likewise.
* sysdeps/unix/sysv/local_lim.h: Likewise.
* sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
* sysdeps/mach/hurd/posix_opt.h: Likewise.
* sysdeps/stub/posix_opt.h: Likewise.
* sysdeps/unix/bsd/posix_opt.h: Likewise.
* sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
* math/cmathcalls.h: -> bits/
* math/mathcalls.h: Likewise.
* misc/stab.def: -> bits/
* posix/posix1_lim.h: -> bits/
* posix/posix2_lim.h: Likewise.
* sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h
* sysdeps/i386/fpu/__math.h: Likewise.
* sysdeps/m68k/fpu/__math.h: Likewise.
* sysdeps/m68k/fpu/switch/__math.h: Likewise.
* sysdeps/powerpc/__math.h: Likewise.
* sysdeps/stub/__math.h: Likewise.
* sysdeps/alpha/bytesex.h: -> .../bits/endian.h
* sysdeps/arm/bytesex.h: Likewise.
* sysdeps/i386/bytesex.h: Likewise.
* sysdeps/m68k/bytesex.h: Likewise.
* sysdeps/mips/bytesex.h: Likewise.
* sysdeps/mips/dec/bytesex.h: Likewise.
* sysdeps/mips/mipsel/bytesex.h: Likewise.
* sysdeps/mips/p40/bytesex.h: Likewise.
* sysdeps/sparc/bytesex.h: Likewise.
* sysdeps/stub/bytesex.h: Likewise.
* sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h
* sysdeps/i386/fpu/fenvbits.h: Likewise.
* sysdeps/m68k/fpu/fenvbits.h: Likewise.
* sysdeps/powerpc/fenvbits.h: Likewise.
* sysdeps/stub/fenvbits.h: Likewise.
* sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h
* sysdeps/arm/jmp_buf.h: Likewise.
* sysdeps/i386/jmp_buf.h: Likewise.
* sysdeps/m68k/jmp_buf.h: Likewise.
* sysdeps/mips/jmp_buf.h: Likewise.
* sysdeps/sparc/jmp_buf.h: Likewise.
* sysdeps/powerpc/jmp_buf.h: Likewise.
* sysdeps/stub/jmp_buf.h: Likewise.
* sysdeps/vax/jmp_buf.h: Likewise.
* sysdeps/generic/confname.h: -> bits/
* sysdeps/unix/sysv/irix4/confname.h: Likewise.
* sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise.
* sysdeps/generic/gnu/types.h: -> ../bits/types.h
* sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
* sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
* sysdeps/generic/ioctl-types.h: -> bits/
* sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise.
* sysdeps/generic/iovec.h: -> .../bits/uio.h
* sysdeps/unix/sysv/linux/iovec.h: Likewise.
* sysdeps/generic/mathbits.h: -> .../bits/mathdef.h
* sysdeps/i386/fpu/mathbits.h: Likewise.
* sysdeps/m68k/fpu/mathbits.h: Likewise.
* sysdeps/powerpc/mathbits.h: Likewise.
* sysdeps/generic/resourcebits.h: -> .../bits/resource.h
* sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
* sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
* sysdeps/generic/schedbits.h: -> .../bits/sched.h
* sysdeps/unix/sysv/linux/schedbits.h: Likewise.
* sysdeps/generic/selectbits.h: -> .../bits/select.h
* sysdeps/i386/selectbits.h: Likewise.
* sysdeps/generic/sigaction.h: -> bits/
* sysdeps/unix/bsd/osf/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise.
* sysdeps/unix/sysv/minix/sigaction.h: Likewise.
* sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise.
* sysdeps/unix/sysv/sysv4/sigaction.h: Likewise.
* sysdeps/generic/sigset.h: -> bits/
* sysdeps/unix/sysv/linux/sigset.h: Likewise.
* sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
* sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h
* sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
* sysdeps/generic/socketbits.h: -> .../bits/socket.h
* sysdeps/unix/sysv/linux/socketbits.h: Likewise.
* sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h
* sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
* sysdeps/generic/termbits.h: -> .../bits/termios.h
* sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/termbits.h: Likewise.
* sysdeps/generic/ustatbits.h: -> .../bits/ustat.h
* sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
* sysdeps/generic/utmpbits.h: -> .../bits/utmp.h
* sysdeps/gnu/utmpbits.h: Likewise.
* sysdeps/unix/sysv/utmpbits.h: Likewise.
* sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h
* sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise.
* sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise.
* sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
* sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise.
* sysdeps/unix/sysv/utsnamelen.h: Likewise.
* sysdeps/generic/waitstatus.h: -> bits/
* sysdeps/i386/huge_val.h: -> bits/
* sysdeps/ieee754/huge_val.h: Likewise.
* sysdeps/m68k/huge_val.h: Likewise.
* sysdeps/stub/huge_val.h: Likewise.
* sysdeps/vax/huge_val.h: Likewise.
* sysdeps/ieee754/nan.h: Likewise.
* sysdeps/stub/nan.h: Likewise.
* sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/
* sysdeps/mach/hurd/hppa/sigcontext.h: Likewise.
* sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
* sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
* sysdeps/stub/sigcontext.h: Likewise.
* sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
* sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
* sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
* sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h
* sysdeps/standalone/arm/errnos.h: Likewise.
* sysdeps/stub/errnos.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
* sysdeps/unix/sysv/linux/errnos.h: Likewise.
* sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h
* sysdeps/stub/fcntlbits.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
* sysdeps/unix/bsd/fcntlbits.h: Likewise.
* sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
* sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
* sysdeps/unix/common/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise.
* sysdeps/mach/hurd/ioctls.h: -> bits/
* sysdeps/stub/ioctls.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise.
* sysdeps/unix/sysv/linux/ioctls.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise.
* sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
* sysdeps/stub/statbuf.h: Likewise.
* sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
* sysdeps/unix/bsd/statbuf.h: Likewise.
* sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
* sysdeps/unix/sysv/linux/statbuf.h: Likewise.
* sysdeps/unix/sysv/statbuf.h: Likewise.
* sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
* sysdeps/standalone/stdio_lim.h: -> bits/
* sysdeps/stub/stdio_lim.h: Likewise.
* sysdeps/stub/direntry.h: -> ../bits/dirent.h
* sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
* sysdeps/unix/bsd/direntry.h: Likewise.
* sysdeps/unix/common/direntry.h: Likewise.
* sysdeps/unix/sysv/direntry.h: Likewise.
* sysdeps/unix/sysv/linux/direntry.h: Likewise.
* sysdeps/stub/elfclass.h: -> bits/
* sysdeps/wordsize-32/elfclass.h: Likewise.
* sysdeps/wordsize-64/elfclass.h: Likewise.
* sysdeps/stub/signum.h: -> bits/
* sysdeps/unix/bsd/signum.h: Likewise.
* sysdeps/unix/bsd/sun/signum.h: Likewise.
* sysdeps/unix/sysv/irix4/signum.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/signum.h: Likewise.
* sysdeps/unix/sysv/linux/signum.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/signum.h: Likewise.
* sysdeps/unix/sysv/signum.h: Likewise.
* sysdeps/unix/sysv/sysv4/signum.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
* sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h
* sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise.
* sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
* sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h
* sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
* sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h
* sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
* sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h
* sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
* sysdeps/stub/timebits.h: -> .../bits/time.h
* sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise.
* sysdeps/unix/sysv/linux/timebits.h: Likewise.
* sysdeps/stub/waitflags.h: -> bits/
* sysdeps/unix/bsd/waitflags.h: Likewise.
* sysdeps/unix/sysv/linux/waitflags.h: Likewise.
* sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../
* sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise.
* sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
* sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../
* argp/argp-fmtstream.h: Standardize the multiple-include protect.
* argp/argp.h: Likewise.
* catgets/nl_types.h: Likewise.
* crypt/sysdeps/unix/crypt.h: Likewise.
* ctype/ctype.h: Likewise.
* db/db.h: Likewise.
* db/mpool.h: Likewise.
* db/ndbm.h: Likewise.
* dirent/dirent.h: Likewise.
* elf/dlfcn.h: Likewise.
* elf/elf.h: Likewise.
* elf/link.h: Likewise.
* gmon/sys/gmon.h: Likewise.
* gmon/sys/gmon_out.h: Likewise.
* grp/grp.h: Likewise.
* inet/aliases.h: Likewise.
* inet/arpa/ftp.h: Likewise.
* inet/arpa/inet.h: Likewise.
* inet/arpa/telnet.h: Likewise.
* inet/arpa/tftp.h: Likewise.
* inet/netinet/ether.h: Likewise.
* inet/netinet/icmp6.h: Likewise.
* inet/netinet/in.h: Likewise.
* inet/netinet/ip6.h: Likewise.
* inet/protocols/routed.h: Likewise.
* inet/protocols/rwhod.h: Likewise.
* inet/protocols/talkd.h: Likewise.
* inet/protocols/timed.h: Likewise.
* intl/libintl.h: Likewise.
* io/fcntl.h: Likewise.
* io/fts.h: Likewise.
* io/ftw.h: Likewise.
* io/sys/poll.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/utime.h: Likewise.
* linuxthreads/semaphore.h: Likewise.
* linuxthreads/sysdeps/pthread/pthread.h: Likewise.
* locale/locale.h: Likewise.
* login/pty.h: Likewise.
* login/utmp.h: Likewise.
* malloc/malloc.h: Likewise.
* malloc/obstack.h: Likewise.
* math/complex.h: Likewise.
* math/fenv.h: Likewise.
* math/math.h: Likewise.
* md5-crypt/md5.h: Likewise.
* misc/ar.h: Likewise.
* misc/err.h: Likewise.
* misc/error.h: Likewise.
* misc/fstab.h: Likewise.
* misc/libgen.h: Likewise.
* misc/nlist.h: Likewise.
* misc/sys/cdefs.h: Likewise.
* misc/sys/file.h: Likewise.
* misc/sys/ioctl.h: Likewise.
* misc/sys/queue.h: Likewise.
* misc/sys/select.h: Likewise.
* misc/sys/syslog.h: Likewise.
* misc/sys/uio.h: Likewise.
* misc/sysexits.h: Likewise.
* misc/ttyent.h: Likewise.
* nss/nss.h: Likewise.
* posix/fnmatch.h: Likewise.
* posix/getopt.h: Likewise.
* posix/glob.h: Likewise.
* posix/regex.h: Likewise.
* posix/sys/times.h: Likewise.
* posix/sys/types.h: Likewise.
* posix/sys/utsname.h: Likewise.
* posix/sys/wait.h: Likewise.
* posix/tar.h: Likewise.
* posix/unistd.h: Likewise.
* posix/wordexp.h: Likewise.
* pwd/pwd.h: Likewise.
* resolv/arpa/nameser.h: Likewise.
* resolv/netdb.h: Likewise.
* resolv/resolv.h: Likewise.
* resource/sys/resource.h: Likewise.
* resource/sys/vlimit.h: Likewise.
* resource/sys/vtimes.h: Likewise.
* setjmp/setjmp.h: Likewise.
* shadow/shadow.h: Likewise.
* socket/sys/socket.h: Likewise.
* socket/sys/un.h: Likewise.
* stdlib/exit.h: Likewise.
* stdlib/fmtmsg.h: Likewise.
* stdlib/monetary.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/argz.h: Likewise.
* string/envz.h: Likewise.
* string/memory.h: Likewise.
* string/string.h: Likewise.
* string/strings.h: Likewise.
* sunrpc/rpc/rpc.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/types.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* termios/sys/ttychars.h: Likewise.
* termios/termios.h: Likewise.
* argp/argp-parse.c: <foo.h> -> <bits/foo.h>.
* crypt/sysdeps/unix/crypt_util.c: Likewise.
* dirent/dirent.h: Likewise.
* elf/link.h: Likewise.
* grp/fgetgrent.c: Likewise.
* grp/grp.h: Likewise.
* hurd/hurd/ioctl.h: Likewise.
* inet/getnameinfo.c: Likewise.
* inet/getnetgrent_r.c: Likewise.
* inet/inet_ntoa.c: Likewise.
* inet/netinet/in.h: Likewise.
* io/fcntl.h: Likewise.
* io/ftw.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/utime.h: Likewise.
* libio/_G_config.h: Likewise.
* libio/libio.h: Likewise.
* libio/libioP.h: Likewise.
* libio/stdio.h: Likewise.
* linuxthreads/lockfile.c: Likewise.
* linuxthreads/semaphore.h: Likewise.
* locale/duplocale.c: Likewise.
* locale/freelocale.c: Likewise.
* locale/lc-time.c: Likewise.
* locale/setlocale.c: Likewise.
* login/getutent_r.c: Likewise.
* login/getutid_r.c: Likewise.
* login/getutline_r.c: Likewise.
* login/lastlog.h: Likewise.
* login/pty.h: Likewise.
* login/utmp.h: Likewise.
* login/utmpname.c: Likewise.
* malloc/mtrace.c: Likewise.
* malloc/thread-m.h: Likewise.
* math/complex.h: Likewise.
* math/fenv.h: Likewise.
* math/libm-test.c: Likewise.
* math/math.h: Likewise.
* misc/sgtty.h: Likewise.
* misc/stab.h: Likewise.
* misc/sys/ioctl.h: Likewise.
* misc/sys/select.h: Likewise.
* misc/sys/uio.h: Likewise.
* misc/sys/ustat.h: Likewise.
* misc/syslog.c: Likewise.
* nis/nss_compat/compat-grp.c: Likewise.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-alias.c: Likewise.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-netgrp.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-publickey.c: Likewise.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise.
* nis/nss_nis/nis-spwd.c: Likewise.
* nss_nisplus/nisplus-alias.c: Likewise.
* nis/nss_nisplus/nisplus-ethers.c: Likewise.
* nis/nss_nisplus/nisplus-grp.c: Likewise.
* nis/nss_nisplus/nisplus-hosts.c: Likewise.
* nis/nss_nisplus/nisplus-netgrp.c: Likewise.
* nis/nss_nisplus/nisplus-netgrp.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-pwd.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-service.c: Likewise.
* nis/nss_nisplus/nisplus-spwd.c: Likewise.
* nis/ypclnt.c: Likewise.
* nss/getXXbyYY.c: Likewise.
* nss/getXXent.c: Likewise.
* nss/getXXent_r.c: Likewise.
* nss/nss_db/db-XXX.c: Likewise.
* nss/nss_db/db-alias.c: Likewise.
* nss/nss_db/db-netgrp.c: Likewise.
* nss/nss_files/files-XXX.c: Likewise.
* nss/nss_files/files-alias.c: Likewise.
* nss/nsswitch.c: Likewise.
* posix/sched.h: Likewise.
* posix/sys/types.h: Likewise.
* posix/sys/utsname.h: Likewise.
* posix/sys/wait.h: Likewise.
* posix/unistd.h: Likewise.
* pwd/fgetpwent.c: Likewise.
* pwd/pwd.h: Likewise.
* resource/sys/resource.h: Likewise.
* setjmp/setjmp.h: Likewise.
* shadow/fgetspent.c: Likewise.
* shadow/lckpwdf.c: Likewise.
* shadow/sgetspent.c: Likewise.
* signal/signal.h: Likewise.
* signal/sigsetops.c: Likewise.
* socket/sys/socket.h: Likewise.
* socket/sys/un.h: Likewise.
* stdio/stdio.h: Likewise.
* stdio-common/vfprintf.c: Likewise.
* stdio-common/vfscanf.c: Likewise.
* stdlib/atexit.c: Likewise.
* stdlib/fmtmsg.c: Likewise.
* stdlib/random.c: Likewise.
* string/endian.h: Likewise.
* sysdeps/alpha/w_sqrt.S: Likewise.
* sysdeps/arm/__longjmp.S: Likewise.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/generic/abort.c: Likewise.
* sysdeps/generic/netinet/ip.h: Likewise.
* sysdeps/generic/setenv.c: Likewise.
* generic/sys/mman.h: Likewise.
* sysdeps/i386/__longjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/mach/hurd/dirstream.h: Likewise.
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
* sysdeps/posix/mk-stdiolim.c: Likewise.
* sysdeps/powerpc/__longjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/sparc/__longjmp.S: Likewise.
* sysdeps/sparc/setjmp.S: Likewise.
* sysdeps/standalone/close.c: Likewise.
* sysdeps/standalone/filedesc.h: Likewise.
* sysdeps/standalone/open.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
* sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
* sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
* sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
* sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/vax/sysdep.S: Likewise.
* sysdeps/unix/dirstream.h: Likewise.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/mips/sysdep.S: Likewise.
* sysdeps/unix/mk-local_lim.c: Likewise.
* sysdeps/unix/sparc/sysdep.S: Likewise.
* sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
* sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
* sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
* sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.
* sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
* sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
* sysvipc/sys/ipc.h: Likewise.
* sysvipc/sys/msg.h: Likewise.
* sysvipc/sys/sem.h: Likewise.
* sysvipc/sys/shm.h: Likewise.
* termios/termios.h: Likewise.
* time/localtime.c: Likewise.
* time/sys/time.h: Likewise.
* time/time.h: Likewise.
* time/tzset.c: Likewise.
* sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/socket.S: Likewise.
* Makefile (headers): foo.h -> bits/foo.h.
* dirent/Makefile: Likewise.
* elf/Makefile: Likewise.
* io/Makefile: Likewise.
* linuxthreads/Makefile: Likewise.
* linuxthreads/sysdeps/pthread/Makefile: Likewise.
* login/Makefile: Likewise.
* math/Makefile: Likewise.
* misc/Makefile: Likewise.
* posix/Makefile: Likewise.
* resource/Makefile: Likewise.
* setjmp/Makefile: Likewise.
* signal/Makefile: Likewise.
* socket/Makefile: Likewise.
* stdio-common/Makefile: Likewise.
* sysdeps/unix/sysv/linux/Makefile: Likewise.
* sysvipc/Makefile: Likewise.
* termios/Makefile: Likewise.
* time/Makefile: Likewise.
* sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise.
* sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h
* sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h,
ioctls.h, termbits.h.
* sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h
-> kernel_termios.h, sys/socketcall.h -> socketcall.h
* elf/elf.h: Use <inttypes.h> definitions instead of __attribute__
for getting the proper length on the ELF types to be friendly to
non-gcc compilers.
* posix/sys/types.h: Notice when int8_t and friends are defined
and don't redefine them.
* sysdeps/wordsize-32/inttypes.h: Likewise.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext
via <signal.h> instead.
* sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise.
1997-06-20 17:59 Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>
* hurd/intr-msg.c: More 64bit changes.
* mach/msg-destroy.c: Likewise.
* sysdeps/mach/hurd/ioctl.c: Likewise.
* sysdeps/mach/hurd/ioctls.h: Likewise.
* sysdeps/mach/hurd/select.c: Likewise.
* sysdeps/mach/hurd/statbuf.h: Likewise.
* sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches.
* sysdeps/mach/hurd/mips/exc2signal.c: Likewise.
* sysdeps/mach/hurd/mips/init-fault.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/intr-msg.h: Likewise.
* sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
* sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
* sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
* sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
* sysdeps/mach/hurd/mips/trampoline.c: Likewise.
* sysdeps/mach/mips/cacheflush.c: Likewise.
* sysdeps/mach/mips/machine-lock.h: Likewise.
* sysdeps/mach/mips/machine-sp.h: Likewise.
* sysdeps/mach/mips/syscall.S: Likewise.
* sysdeps/mach/mips/sysdep.h: Likewise.
* sysdeps/mach/mips/thread_state.h: Likewise.
* sysdeps/mach/start.c: Likewise.
* sysdeps/mips/dl-machine.h: MIPS changes.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/mips/init-first.c: Likewise.
* sysdeps/mips/fpu_control.h: Likewise.
* sysdeps/mips/machine-gmon.h: Likewise.
* sysdeps/mips/jmp_buf.h: Likewise.
* sysdeps/mips/__longjmp.c: Likewise.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/bsd-setjmp.S: Likewise.
* sysdeps/mips/setjmp.S: Likewise.
* sysdeps/mips/setjmp_aux.c: Likewise.
* sysdeps/mips/mips64/gmp-mparam.h: Likewise.
* sysdeps/mips/add_n.S: New file.
* sysdeps/mips/addmul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/sub_n.S: Likewise.
* sysdeps/mips/submul_1.S: Likewise.
* sysdeps/mips/mips64/Implies: Likewise.
* sysdeps/mips/mips64/add_n.S: Likewise.
* sysdeps/mips/mips64/addmul_1.S: Likewise.
* sysdeps/mips/mips64/lshift.S: Likewise.
* sysdeps/mips/mips64/mul_1.S: Likewise.
* sysdeps/mips/mips64/rshift.S: Likewise.
* sysdeps/mips/mips64/sub_n.S: Likewise.
* sysdeps/mips/mips64/submul_1.S: Likewise.
* sysdeps/mips/add_n.S: Removed.
* sysdeps/mips/addmul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/sub_n.S: Likewise.
* sysdeps/mips/submul_1.S: Likewise.
* nss/Makefile: Prepare for static NSS.
* resolv/Makefile: Likewise.
* nss/nsswitch.c: Add code for static NSS.
* nss/function.def: Define functions for static NSS.
1997-06-19 11:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libc.map: Add yet more symbols.
1997-06-19 20:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL
as object name to _dl_signal_error.
(do_lookup): Skip objects that could not be opened.
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the
symbol was found.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
1997-06-20 03:13 Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>
* ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is
assumed.
* ctype/ctype.h: Likewise.
* math/math_private.h: Likewise.
* inet/netinet/in.h: Likewise.
* wctype/wctype.h: Likewise.
* nss/Makefile: Only inhibit nss_files and nss_db modules if static
NSS modules are not enabled.
* resolv/Makefile: Likewise for nss_dns.
* nss/function.def: New file. List all available lookup functions
for static NSS.
* nss/nsswitch.c: Add code for static NSS.
1997-06-15 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (gamma_test): Test for _SVID_ and for normal
behaviour.
1997-06-15 20:32 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm.map: Add all necessary functions, correct existing entries.
1997-06-20 02:35 a sun <asun@zoology.washington.edu>
* sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
1997-06-19 18:43 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
Compare pointer with NULL.
* login/logout.c (logout): Compare pututline result with NULL.
* inet/rcmd.c: Correct a few typos. Reported by Erik Troan.
Diffstat (limited to 'include')
135 files changed, 1157 insertions, 0 deletions
diff --git a/include/aliases.h b/include/aliases.h new file mode 100644 index 0000000000..cfe459d02d --- /dev/null +++ b/include/aliases.h @@ -0,0 +1 @@ +#include <inet/aliases.h> diff --git a/include/alloca.h b/include/alloca.h new file mode 100644 index 0000000000..34eeeab78e --- /dev/null +++ b/include/alloca.h @@ -0,0 +1 @@ +#include <stdlib/alloca.h> diff --git a/include/argp.h b/include/argp.h new file mode 100644 index 0000000000..92be5f90f1 --- /dev/null +++ b/include/argp.h @@ -0,0 +1 @@ +#include <argp/argp.h> diff --git a/include/argz.h b/include/argz.h new file mode 100644 index 0000000000..179e693106 --- /dev/null +++ b/include/argz.h @@ -0,0 +1 @@ +#include <string/argz.h> diff --git a/include/arpa/ftp.h b/include/arpa/ftp.h new file mode 100644 index 0000000000..c716d68156 --- /dev/null +++ b/include/arpa/ftp.h @@ -0,0 +1 @@ +#include <inet/arpa/ftp.h> diff --git a/include/arpa/inet.h b/include/arpa/inet.h new file mode 100644 index 0000000000..65733b618c --- /dev/null +++ b/include/arpa/inet.h @@ -0,0 +1 @@ +#include <inet/arpa/inet.h> diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h new file mode 100644 index 0000000000..944fe732a6 --- /dev/null +++ b/include/arpa/nameser.h @@ -0,0 +1 @@ +#include <resolv/arpa/nameser.h> diff --git a/include/arpa/telnet.h b/include/arpa/telnet.h new file mode 100644 index 0000000000..742c04cfe3 --- /dev/null +++ b/include/arpa/telnet.h @@ -0,0 +1 @@ +#include <inet/arpa/telnet.h> diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h new file mode 100644 index 0000000000..21d5197f24 --- /dev/null +++ b/include/arpa/tftp.h @@ -0,0 +1 @@ +#include <inet/arpa/tftp.h> diff --git a/include/assert.h b/include/assert.h new file mode 100644 index 0000000000..e2fa7020c1 --- /dev/null +++ b/include/assert.h @@ -0,0 +1 @@ +#include <assert/assert.h> diff --git a/include/bits/mathcalls.h b/include/bits/mathcalls.h new file mode 100644 index 0000000000..d75b598cc7 --- /dev/null +++ b/include/bits/mathcalls.h @@ -0,0 +1 @@ +#include <math/bits/mathcalls.h> diff --git a/include/bits/posix1_lim.h b/include/bits/posix1_lim.h new file mode 100644 index 0000000000..c3c67d1c84 --- /dev/null +++ b/include/bits/posix1_lim.h @@ -0,0 +1 @@ +#include <posix/bits/posix1_lim.h> diff --git a/include/bits/posix2_lim.h b/include/bits/posix2_lim.h new file mode 100644 index 0000000000..49a539438c --- /dev/null +++ b/include/bits/posix2_lim.h @@ -0,0 +1 @@ +#include <posix/bits/posix2_lim.h> diff --git a/include/bits/stab.def b/include/bits/stab.def new file mode 100644 index 0000000000..d153eba4de --- /dev/null +++ b/include/bits/stab.def @@ -0,0 +1 @@ +#include <misc/bits/stab.def> diff --git a/include/bits/xopen_lim.h b/include/bits/xopen_lim.h new file mode 100644 index 0000000000..c8b847fbc2 --- /dev/null +++ b/include/bits/xopen_lim.h @@ -0,0 +1,94 @@ +/* Copyright (C) 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. */ + +/* + * Never include this file directly; use <limits.h> instead. + */ + +/* Additional definitions from X/Open Portability Guide, Issue 4, Version 2 + System Interfaces and Headers, 4.16 <limits.h> + + Please note only the values which are not greater than the minimum + stated in the standard document are listed. The `sysconf' functions + should be used to obtain the actual value. */ + +#ifndef _XOPEN_LIM_H + +#define _XOPEN_LIM_H 1 + +/* We do not provide fixed values for + + ARG_MAX Maximum length of argument to the `exec' function + including environment data. + + ATEXIT_MAX Maximum number of functions that may be registered + with `atexit'. + + CHILD_MAX Maximum number of simultaneous processes per real + user ID. + + OPEN_MAX Maximum number of files that one process can have open + at anyone time. + + PAGESIZE + PAGE_SIZE Size of bytes of a page. + + PASS_MAX Maximum number of significant bytes in a password. +*/ + + +/* Maximum number of `iovec' structures that one process has available + for use with `readv' or writev'. */ +#define IOV_MAX _XOPEN_IOV_MAX + +/* The number of streams that one process can have open at one time. */ +#define STREAM_MAX _POSIX_STREAM_MAX + +/* Maximum number of bytes supported for the name of a time zone. */ +#define TZNAME_MAX _POSIX_TZNAME_MAX + + +/* Maximum number of `iovec' structures that one process has available + for use with `readv' or writev'. */ +#define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV + + +/* Maximum value of `digit' in calls to the `printf' and `scanf' + functions. We have no limit, so return a reasonable value. */ +#define NL_ARGMAX _POSIX_ARG_MAX + +/* Maximum number of bytes in a `LANG' name. We have no limit. */ +#define NL_LANGMAX _POSIX2_LINE_MAX + +/* Maximum message number. We have no limit. */ +#define NL_MSGMAX INT_MAX + +/* Maximum number of bytes in N-to-1 collation mapping. We have no + limit. */ +#define NL_NMAX INT_MAX + +/* Maximum set number. We have no limit. */ +#define NL_SETMAX INT_MAX + +/* Maximum number of bytes in a message. We have no limit. */ +#define NL_TEXTMAX INT_MAX + +/* Default process priority. */ +#define NZERO 20 + +#endif /* bits/xopen_lim.h */ diff --git a/include/ctype.h b/include/ctype.h new file mode 100644 index 0000000000..7b51e1f5eb --- /dev/null +++ b/include/ctype.h @@ -0,0 +1 @@ +#include <ctype/ctype.h> diff --git a/include/db.h b/include/db.h new file mode 100644 index 0000000000..a04f7746ef --- /dev/null +++ b/include/db.h @@ -0,0 +1 @@ +#include <db/db.h> diff --git a/include/dirent.h b/include/dirent.h new file mode 100644 index 0000000000..f59a6b778b --- /dev/null +++ b/include/dirent.h @@ -0,0 +1 @@ +#include <dirent/dirent.h> diff --git a/include/dlfcn.h b/include/dlfcn.h new file mode 100644 index 0000000000..92804a1c1c --- /dev/null +++ b/include/dlfcn.h @@ -0,0 +1 @@ +#include <elf/dlfcn.h> diff --git a/include/elf.h b/include/elf.h new file mode 100644 index 0000000000..8a1764f956 --- /dev/null +++ b/include/elf.h @@ -0,0 +1 @@ +#include <elf/elf.h> diff --git a/include/endian.h b/include/endian.h new file mode 100644 index 0000000000..cacf2fe9b7 --- /dev/null +++ b/include/endian.h @@ -0,0 +1 @@ +#include <string/endian.h> diff --git a/include/envz.h b/include/envz.h new file mode 100644 index 0000000000..0a476ed62a --- /dev/null +++ b/include/envz.h @@ -0,0 +1 @@ +#include <string/envz.h> diff --git a/include/err.h b/include/err.h new file mode 100644 index 0000000000..915720aa4c --- /dev/null +++ b/include/err.h @@ -0,0 +1 @@ +#include <misc/err.h> diff --git a/include/errno.h b/include/errno.h new file mode 100644 index 0000000000..23e0b8f9a9 --- /dev/null +++ b/include/errno.h @@ -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 index 0000000000..70f3192fa6 --- /dev/null +++ b/include/error.h @@ -0,0 +1 @@ +#include <misc/error.h> diff --git a/include/fcntl.h b/include/fcntl.h new file mode 100644 index 0000000000..bac1e8685d --- /dev/null +++ b/include/fcntl.h @@ -0,0 +1 @@ +#include <io/fcntl.h> diff --git a/include/features.h b/include/features.h new file mode 100644 index 0000000000..d1f4ae3d29 --- /dev/null +++ b/include/features.h @@ -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 index 0000000000..b12b786df0 --- /dev/null +++ b/include/fnmatch.h @@ -0,0 +1 @@ +#include <posix/fnmatch.h> diff --git a/include/ftw.h b/include/ftw.h new file mode 100644 index 0000000000..4fb654cf22 --- /dev/null +++ b/include/ftw.h @@ -0,0 +1 @@ +#include <io/ftw.h> diff --git a/include/getopt.h b/include/getopt.h new file mode 100644 index 0000000000..74ca6d453a --- /dev/null +++ b/include/getopt.h @@ -0,0 +1 @@ +#include <posix/getopt.h> diff --git a/include/glob.h b/include/glob.h new file mode 100644 index 0000000000..ce047bb177 --- /dev/null +++ b/include/glob.h @@ -0,0 +1 @@ +#include <posix/glob.h> diff --git a/include/gnu-versions.h b/include/gnu-versions.h new file mode 100644 index 0000000000..7085895a0a --- /dev/null +++ b/include/gnu-versions.h @@ -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 index 0000000000..250092cbf1 --- /dev/null +++ b/include/grp.h @@ -0,0 +1 @@ +#include <grp/grp.h> diff --git a/include/langinfo.h b/include/langinfo.h new file mode 100644 index 0000000000..2a81c6ddaf --- /dev/null +++ b/include/langinfo.h @@ -0,0 +1 @@ +#include <locale/langinfo.h> diff --git a/include/libc-symbols.h b/include/libc-symbols.h new file mode 100644 index 0000000000..07a35f1b53 --- /dev/null +++ b/include/libc-symbols.h @@ -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> +/* + +*/ + +#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 + +/* + +*/ +/* 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") + +/* + +*/ + +#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 index 0000000000..4795d8e561 --- /dev/null +++ b/include/libgen.h @@ -0,0 +1 @@ +#include <misc/libgen.h> diff --git a/include/libintl.h b/include/libintl.h new file mode 100644 index 0000000000..be1062ca03 --- /dev/null +++ b/include/libintl.h @@ -0,0 +1 @@ +#include <intl/libintl.h> diff --git a/include/limits.h b/include/limits.h new file mode 100644 index 0000000000..31d8792d9d --- /dev/null +++ b/include/limits.h @@ -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 index 0000000000..03ca090301 --- /dev/null +++ b/include/linewrap.h @@ -0,0 +1 @@ +#include "stdio/linewrap.h" diff --git a/include/link.h b/include/link.h new file mode 100644 index 0000000000..0999f0bbfc --- /dev/null +++ b/include/link.h @@ -0,0 +1 @@ +#include <elf/link.h> diff --git a/include/locale.h b/include/locale.h new file mode 100644 index 0000000000..6e0bd916dc --- /dev/null +++ b/include/locale.h @@ -0,0 +1 @@ +#include <locale/locale.h> diff --git a/include/malloc.h b/include/malloc.h new file mode 100644 index 0000000000..448e0a8c6b --- /dev/null +++ b/include/malloc.h @@ -0,0 +1 @@ +#include <malloc/malloc.h> diff --git a/include/math.h b/include/math.h new file mode 100644 index 0000000000..f837293f81 --- /dev/null +++ b/include/math.h @@ -0,0 +1 @@ +#include <math/math.h> diff --git a/include/mcheck.h b/include/mcheck.h new file mode 100644 index 0000000000..90a48d5f9a --- /dev/null +++ b/include/mcheck.h @@ -0,0 +1 @@ +#include <malloc/mcheck.h> diff --git a/include/memory.h b/include/memory.h new file mode 100644 index 0000000000..1ec3e63fc9 --- /dev/null +++ b/include/memory.h @@ -0,0 +1 @@ +#include <string/memory.h> diff --git a/include/monetary.h b/include/monetary.h new file mode 100644 index 0000000000..4735dc6c8a --- /dev/null +++ b/include/monetary.h @@ -0,0 +1 @@ +#include <stdlib/monetary.h> diff --git a/include/netdb.h b/include/netdb.h new file mode 100644 index 0000000000..e2e1868cbb --- /dev/null +++ b/include/netdb.h @@ -0,0 +1 @@ +#include <resolv/netdb.h> diff --git a/include/netgroup.h b/include/netgroup.h new file mode 100644 index 0000000000..4b2b284cdb --- /dev/null +++ b/include/netgroup.h @@ -0,0 +1 @@ +#include <inet/netgroup.h> diff --git a/include/netinet/ether.h b/include/netinet/ether.h new file mode 100644 index 0000000000..60ef5a3abf --- /dev/null +++ b/include/netinet/ether.h @@ -0,0 +1 @@ +#include <inet/netinet/ether.h> diff --git a/include/netinet/in.h b/include/netinet/in.h new file mode 100644 index 0000000000..9139cfaeee --- /dev/null +++ b/include/netinet/in.h @@ -0,0 +1 @@ +#include <inet/netinet/in.h> diff --git a/include/nlist.h b/include/nlist.h new file mode 100644 index 0000000000..897a93c7fe --- /dev/null +++ b/include/nlist.h @@ -0,0 +1 @@ +#include <misc/nlist.h> diff --git a/include/nss.h b/include/nss.h new file mode 100644 index 0000000000..0541335c18 --- /dev/null +++ b/include/nss.h @@ -0,0 +1 @@ +#include <nss/nss.h> diff --git a/include/nsswitch.h b/include/nsswitch.h new file mode 100644 index 0000000000..a876d23185 --- /dev/null +++ b/include/nsswitch.h @@ -0,0 +1 @@ +#include <nss/nsswitch.h> diff --git a/include/obstack.h b/include/obstack.h new file mode 100644 index 0000000000..2339cbc4d5 --- /dev/null +++ b/include/obstack.h @@ -0,0 +1 @@ +#include <malloc/obstack.h> diff --git a/include/poll.h b/include/poll.h new file mode 100644 index 0000000000..778488accb --- /dev/null +++ b/include/poll.h @@ -0,0 +1 @@ +#include <io/poll.h> diff --git a/include/printf.h b/include/printf.h new file mode 100644 index 0000000000..777e958fb9 --- /dev/null +++ b/include/printf.h @@ -0,0 +1 @@ +#include <stdio-common/printf.h> diff --git a/include/protocols/routed.h b/include/protocols/routed.h new file mode 100644 index 0000000000..2e97bfd187 --- /dev/null +++ b/include/protocols/routed.h @@ -0,0 +1 @@ +#include <protocols/routed.h> diff --git a/include/protocols/rwhod.h b/include/protocols/rwhod.h new file mode 100644 index 0000000000..6fc35a0c41 --- /dev/null +++ b/include/protocols/rwhod.h @@ -0,0 +1 @@ +#include <protocols/rwhod.h> diff --git a/include/protocols/talkd.h b/include/protocols/talkd.h new file mode 100644 index 0000000000..4fd7a34fdf --- /dev/null +++ b/include/protocols/talkd.h @@ -0,0 +1 @@ +#include <protocols/talkd.h> diff --git a/include/protocols/timed.h b/include/protocols/timed.h new file mode 100644 index 0000000000..58dbafeaf2 --- /dev/null +++ b/include/protocols/timed.h @@ -0,0 +1 @@ +#include <protocols/timed.h> diff --git a/include/pwd.h b/include/pwd.h new file mode 100644 index 0000000000..28d59a6a0a --- /dev/null +++ b/include/pwd.h @@ -0,0 +1 @@ +#include <pwd/pwd.h> diff --git a/include/regex.h b/include/regex.h new file mode 100644 index 0000000000..22bfc89e77 --- /dev/null +++ b/include/regex.h @@ -0,0 +1 @@ +#include <posix/regex.h> diff --git a/include/resolv.h b/include/resolv.h new file mode 100644 index 0000000000..95b9eebef8 --- /dev/null +++ b/include/resolv.h @@ -0,0 +1 @@ +#include <resolv/resolv.h> diff --git a/include/rpc/auth_unix.h b/include/rpc/auth_unix.h new file mode 100644 index 0000000000..36299392ba --- /dev/null +++ b/include/rpc/auth_unix.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/auth_unix.h> diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h new file mode 100644 index 0000000000..b4493d1d90 --- /dev/null +++ b/include/rpc/clnt.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/clnt.h> diff --git a/include/rpc/netdb.h b/include/rpc/netdb.h new file mode 100644 index 0000000000..a9d93e13ad --- /dev/null +++ b/include/rpc/netdb.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/netdb.h> diff --git a/include/rpc/pmap_clnt.h b/include/rpc/pmap_clnt.h new file mode 100644 index 0000000000..dfe537c96f --- /dev/null +++ b/include/rpc/pmap_clnt.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/pmap_clnt.h> diff --git a/include/rpc/pmap_prot.h b/include/rpc/pmap_prot.h new file mode 100644 index 0000000000..06d7d378cf --- /dev/null +++ b/include/rpc/pmap_prot.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/pmap_prot.h> diff --git a/include/rpc/pmap_rmt.h b/include/rpc/pmap_rmt.h new file mode 100644 index 0000000000..1585c13039 --- /dev/null +++ b/include/rpc/pmap_rmt.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/pmap_rmt.h> diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h new file mode 100644 index 0000000000..1b5c5cd8de --- /dev/null +++ b/include/rpc/rpc.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/rpc.h> diff --git a/include/rpc/rpc_msg.h b/include/rpc/rpc_msg.h new file mode 100644 index 0000000000..3c63730c1f --- /dev/null +++ b/include/rpc/rpc_msg.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/rpc_msg.h> diff --git a/include/rpc/svc.h b/include/rpc/svc.h new file mode 100644 index 0000000000..68aa67b429 --- /dev/null +++ b/include/rpc/svc.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/svc.h> diff --git a/include/rpc/svc_auth.h b/include/rpc/svc_auth.h new file mode 100644 index 0000000000..e2c226312e --- /dev/null +++ b/include/rpc/svc_auth.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/svc_auth.h> diff --git a/include/rpc/types.h b/include/rpc/types.h new file mode 100644 index 0000000000..53df7e666b --- /dev/null +++ b/include/rpc/types.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/types.h> diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h new file mode 100644 index 0000000000..4c9083d08a --- /dev/null +++ b/include/rpc/xdr.h @@ -0,0 +1 @@ +#include <sunrpc/rpc/xdr.h> diff --git a/include/sched.h b/include/sched.h new file mode 100644 index 0000000000..b9bebc9dee --- /dev/null +++ b/include/sched.h @@ -0,0 +1 @@ +#include "posix/sched.h" diff --git a/include/search.h b/include/search.h new file mode 100644 index 0000000000..ff24508172 --- /dev/null +++ b/include/search.h @@ -0,0 +1 @@ +#include <misc/search.h> diff --git a/include/set-hooks.h b/include/set-hooks.h new file mode 100644 index 0000000000..995bdf4120 --- /dev/null +++ b/include/set-hooks.h @@ -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 index 0000000000..c78a964566 --- /dev/null +++ b/include/setjmp.h @@ -0,0 +1 @@ +#include <setjmp/setjmp.h> diff --git a/include/sgtty.h b/include/sgtty.h new file mode 100644 index 0000000000..ffb62401cb --- /dev/null +++ b/include/sgtty.h @@ -0,0 +1 @@ +#include <misc/sgtty.h> diff --git a/include/shadow.h b/include/shadow.h new file mode 100644 index 0000000000..4848197be1 --- /dev/null +++ b/include/shadow.h @@ -0,0 +1 @@ +#include <shadow/shadow.h> diff --git a/include/signal.h b/include/signal.h new file mode 100644 index 0000000000..d9939c4e83 --- /dev/null +++ b/include/signal.h @@ -0,0 +1 @@ +#include <signal/signal.h> diff --git a/include/stab.h b/include/stab.h new file mode 100644 index 0000000000..2e278fc778 --- /dev/null +++ b/include/stab.h @@ -0,0 +1 @@ +#include <misc/stab.h> diff --git a/include/stdio.h b/include/stdio.h new file mode 100644 index 0000000000..457eabe32f --- /dev/null +++ b/include/stdio.h @@ -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 index 0000000000..c0887a99e9 --- /dev/null +++ b/include/stdlib.h @@ -0,0 +1 @@ +#include <stdlib/stdlib.h> diff --git a/include/string.h b/include/string.h new file mode 100644 index 0000000000..b557c65f39 --- /dev/null +++ b/include/string.h @@ -0,0 +1 @@ +#include <string/string.h> diff --git a/include/strings.h b/include/strings.h new file mode 100644 index 0000000000..b1bb339d3d --- /dev/null +++ b/include/strings.h @@ -0,0 +1 @@ +#include <string/strings.h> diff --git a/include/sys/bitypes.h b/include/sys/bitypes.h new file mode 100644 index 0000000000..137945172d --- /dev/null +++ b/include/sys/bitypes.h @@ -0,0 +1 @@ +#include <resolv/sys/bitypes.h> diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h new file mode 100644 index 0000000000..200abb4f02 --- /dev/null +++ b/include/sys/cdefs.h @@ -0,0 +1 @@ +#include <misc/sys/cdefs.h> diff --git a/include/sys/dir.h b/include/sys/dir.h new file mode 100644 index 0000000000..5453e743fc --- /dev/null +++ b/include/sys/dir.h @@ -0,0 +1 @@ +#include <misc/sys/dir.h> diff --git a/include/sys/errno.h b/include/sys/errno.h new file mode 100644 index 0000000000..339f4fc10c --- /dev/null +++ b/include/sys/errno.h @@ -0,0 +1 @@ +#include <errno.h> diff --git a/include/sys/fcntl.h b/include/sys/fcntl.h new file mode 100644 index 0000000000..dec2157be6 --- /dev/null +++ b/include/sys/fcntl.h @@ -0,0 +1 @@ +#include <io/sys/fcntl.h> diff --git a/include/sys/file.h b/include/sys/file.h new file mode 100644 index 0000000000..fb3cd7544e --- /dev/null +++ b/include/sys/file.h @@ -0,0 +1 @@ +#include <misc/sys/file.h> diff --git a/include/sys/gmon.h b/include/sys/gmon.h new file mode 100644 index 0000000000..987589fcfe --- /dev/null +++ b/include/sys/gmon.h @@ -0,0 +1 @@ +#include <gmon/sys/gmon.h> diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h new file mode 100644 index 0000000000..8cc77757f6 --- /dev/null +++ b/include/sys/ioctl.h @@ -0,0 +1 @@ +#include <misc/sys/ioctl.h> diff --git a/include/sys/ipc.h b/include/sys/ipc.h new file mode 100644 index 0000000000..7bd257684b --- /dev/null +++ b/include/sys/ipc.h @@ -0,0 +1 @@ +#include <sysvipc/sys/ipc.h> diff --git a/include/sys/msg.h b/include/sys/msg.h new file mode 100644 index 0000000000..0f8026dda1 --- /dev/null +++ b/include/sys/msg.h @@ -0,0 +1 @@ +#include <sysvipc/sys/msg.h> diff --git a/include/sys/poll.h b/include/sys/poll.h new file mode 100644 index 0000000000..5231e6845e --- /dev/null +++ b/include/sys/poll.h @@ -0,0 +1 @@ +#include <io/sys/poll.h> diff --git a/include/sys/queue.h b/include/sys/queue.h new file mode 100644 index 0000000000..5c9823b7eb --- /dev/null +++ b/include/sys/queue.h @@ -0,0 +1 @@ +#include <misc/sys/queue.h> diff --git a/include/sys/resource.h b/include/sys/resource.h new file mode 100644 index 0000000000..33e6f4de9e --- /dev/null +++ b/include/sys/resource.h @@ -0,0 +1 @@ +#include <resource/sys/resource.h> diff --git a/include/sys/select.h b/include/sys/select.h new file mode 100644 index 0000000000..f793af7bf0 --- /dev/null +++ b/include/sys/select.h @@ -0,0 +1 @@ +#include <misc/sys/select.h> diff --git a/include/sys/sem.h b/include/sys/sem.h new file mode 100644 index 0000000000..b0fb201bd0 --- /dev/null +++ b/include/sys/sem.h @@ -0,0 +1 @@ +#include <sysvipc/sys/sem.h> diff --git a/include/sys/shm.h b/include/sys/shm.h new file mode 100644 index 0000000000..1878fcc5be --- /dev/null +++ b/include/sys/shm.h @@ -0,0 +1 @@ +#include <sysvipc/sys/shm.h> diff --git a/include/sys/signal.h b/include/sys/signal.h new file mode 100644 index 0000000000..b2110df1ae --- /dev/null +++ b/include/sys/signal.h @@ -0,0 +1 @@ +#include <signal/sys/signal.h> diff --git a/include/sys/socket.h b/include/sys/socket.h new file mode 100644 index 0000000000..999a683016 --- /dev/null +++ b/include/sys/socket.h @@ -0,0 +1 @@ +#include <socket/sys/socket.h> diff --git a/include/sys/stat.h b/include/sys/stat.h new file mode 100644 index 0000000000..37a526069f --- /dev/null +++ b/include/sys/stat.h @@ -0,0 +1 @@ +#include <io/sys/stat.h> diff --git a/include/sys/statfs.h b/include/sys/statfs.h new file mode 100644 index 0000000000..d42df4b65d --- /dev/null +++ b/include/sys/statfs.h @@ -0,0 +1 @@ +#include <io/sys/statfs.h> diff --git a/include/sys/syslog.h b/include/sys/syslog.h new file mode 100644 index 0000000000..247528b430 --- /dev/null +++ b/include/sys/syslog.h @@ -0,0 +1 @@ +#include <misc/sys/syslog.h> diff --git a/include/sys/termios.h b/include/sys/termios.h new file mode 100644 index 0000000000..27e4de5f4b --- /dev/null +++ b/include/sys/termios.h @@ -0,0 +1 @@ +#include <termios/sys/termios.h> diff --git a/include/sys/time.h b/include/sys/time.h new file mode 100644 index 0000000000..5595a957a0 --- /dev/null +++ b/include/sys/time.h @@ -0,0 +1 @@ +#include <time/sys/time.h> diff --git a/include/sys/timeb.h b/include/sys/timeb.h new file mode 100644 index 0000000000..9f4509c35e --- /dev/null +++ b/include/sys/timeb.h @@ -0,0 +1 @@ +#include <time/sys/timeb.h> diff --git a/include/sys/times.h b/include/sys/times.h new file mode 100644 index 0000000000..16ca91138a --- /dev/null +++ b/include/sys/times.h @@ -0,0 +1 @@ +#include <posix/sys/times.h> diff --git a/include/sys/types.h b/include/sys/types.h new file mode 100644 index 0000000000..716732f4d4 --- /dev/null +++ b/include/sys/types.h @@ -0,0 +1 @@ +#include <posix/sys/types.h> diff --git a/include/sys/uio.h b/include/sys/uio.h new file mode 100644 index 0000000000..03afd84b87 --- /dev/null +++ b/include/sys/uio.h @@ -0,0 +1 @@ +#include <misc/sys/uio.h> diff --git a/include/sys/un.h b/include/sys/un.h new file mode 100644 index 0000000000..bdbee99980 --- /dev/null +++ b/include/sys/un.h @@ -0,0 +1 @@ +#include <socket/sys/un.h> diff --git a/include/sys/unistd.h b/include/sys/unistd.h new file mode 100644 index 0000000000..8ca19e5516 --- /dev/null +++ b/include/sys/unistd.h @@ -0,0 +1 @@ +#include <posix/sys/unistd.h> diff --git a/include/sys/utsname.h b/include/sys/utsname.h new file mode 100644 index 0000000000..ff81bdf48e --- /dev/null +++ b/include/sys/utsname.h @@ -0,0 +1 @@ +#include <posix/sys/utsname.h> diff --git a/include/sys/vlimit.h b/include/sys/vlimit.h new file mode 100644 index 0000000000..8a76d2fd00 --- /dev/null +++ b/include/sys/vlimit.h @@ -0,0 +1 @@ +#include <resource/sys/vlimit.h> diff --git a/include/sys/vtimes.h b/include/sys/vtimes.h new file mode 100644 index 0000000000..dd666ca443 --- /dev/null +++ b/include/sys/vtimes.h @@ -0,0 +1 @@ +#include <resource/sys/vtimes.h> diff --git a/include/sys/wait.h b/include/sys/wait.h new file mode 100644 index 0000000000..379d5cc7a5 --- /dev/null +++ b/include/sys/wait.h @@ -0,0 +1 @@ +#include <posix/sys/wait.h> diff --git a/include/syscall.h b/include/syscall.h new file mode 100644 index 0000000000..8c53cfb204 --- /dev/null +++ b/include/syscall.h @@ -0,0 +1 @@ +#include <misc/syscall.h> diff --git a/include/sysexits.h b/include/sysexits.h new file mode 100644 index 0000000000..139e3cfa13 --- /dev/null +++ b/include/sysexits.h @@ -0,0 +1 @@ +#include <misc/sysexits.h> diff --git a/include/syslog.h b/include/syslog.h new file mode 100644 index 0000000000..4cfb7723bb --- /dev/null +++ b/include/syslog.h @@ -0,0 +1 @@ +#include <misc/syslog.h> diff --git a/include/tar.h b/include/tar.h new file mode 100644 index 0000000000..05efa1fc0e --- /dev/null +++ b/include/tar.h @@ -0,0 +1 @@ +#include <posix/tar.h> diff --git a/include/termios.h b/include/termios.h new file mode 100644 index 0000000000..3f754ac900 --- /dev/null +++ b/include/termios.h @@ -0,0 +1 @@ +#include <termios/termios.h> diff --git a/include/time.h b/include/time.h new file mode 100644 index 0000000000..b2a33bf5c3 --- /dev/null +++ b/include/time.h @@ -0,0 +1 @@ +#include <time/time.h> diff --git a/include/ttyent.h b/include/ttyent.h new file mode 100644 index 0000000000..ba790e3542 --- /dev/null +++ b/include/ttyent.h @@ -0,0 +1 @@ +#include <misc/ttyent.h> diff --git a/include/unistd.h b/include/unistd.h new file mode 100644 index 0000000000..77901d9846 --- /dev/null +++ b/include/unistd.h @@ -0,0 +1 @@ +#include <posix/unistd.h> diff --git a/include/utime.h b/include/utime.h new file mode 100644 index 0000000000..6dadc53ad6 --- /dev/null +++ b/include/utime.h @@ -0,0 +1 @@ +#include <io/utime.h> diff --git a/include/utmp.h b/include/utmp.h new file mode 100644 index 0000000000..c0c21a4436 --- /dev/null +++ b/include/utmp.h @@ -0,0 +1 @@ +#include <login/utmp.h> diff --git a/include/values.h b/include/values.h new file mode 100644 index 0000000000..26421724c4 --- /dev/null +++ b/include/values.h @@ -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 index 0000000000..c87ffb851b --- /dev/null +++ b/include/wchar.h @@ -0,0 +1 @@ +#include <wcsmbs/wchar.h> diff --git a/include/wctype.h b/include/wctype.h new file mode 100644 index 0000000000..c76f50c866 --- /dev/null +++ b/include/wctype.h @@ -0,0 +1 @@ +#include <wctype/wctype.h> diff --git a/include/wordexp.h b/include/wordexp.h new file mode 100644 index 0000000000..64e036e062 --- /dev/null +++ b/include/wordexp.h @@ -0,0 +1 @@ +#include <posix/wordexp.h> diff --git a/include/xlocale.h b/include/xlocale.h new file mode 100644 index 0000000000..5280ef0bc4 --- /dev/null +++ b/include/xlocale.h @@ -0,0 +1 @@ +#include <locale/xlocale.h> |