From 5107cf1d7d27f17c6de68ec15a8e8d9dd5b471c1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 21 Jun 1997 02:59:26 +0000 Subject: Update. 1997-06-21 02:48 Ulrich Drepper * 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 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 and . * 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: -> . * 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 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 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 * 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 * libc.map: Add yet more symbols. 1997-06-19 20:33 Andreas Schwab * 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 * 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 * math/libm-test.c (gamma_test): Test for _SVID_ and for normal behaviour. 1997-06-15 20:32 Andreas Jaeger * math/libm.map: Add all necessary functions, correct existing entries. 1997-06-20 02:35 a sun * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header. 1997-06-19 18:43 Andreas Jaeger * 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. --- ChangeLog | 800 ++++++++++++++++++++- Makeconfig | 4 +- Makefile | 6 +- aliases.h | 1 - alloca.h | 1 - ansidecl.h | 108 --- argp.h | 1 - argp/argp-fmtstream.h | 6 +- argp/argp-parse.c | 2 +- argp/argp.h | 6 +- argz.h | 1 - arpa/ftp.h | 1 - arpa/inet.h | 1 - arpa/nameser.h | 1 - arpa/telnet.h | 1 - arpa/tftp.h | 1 - assert.h | 1 - bits/confname.h | 325 +++++++++ bits/ioctl-types.h | 121 ++++ bits/mathdef.h | 40 ++ bits/resource.h | 146 ++++ bits/sched.h | 35 + bits/select.h | 29 + bits/sigaction.h | 50 ++ bits/sigset.h | 81 +++ bits/sockaddr.h | 41 ++ bits/socket.h | 200 ++++++ bits/statfs.h | 52 ++ bits/termios.h | 230 ++++++ bits/types.h | 94 +++ bits/uio.h | 32 + bits/ustat.h | 30 + bits/utmp.h | 53 ++ bits/utsname.h | 3 + bits/waitstatus.h | 104 +++ catgets/nl_types.h | 1 + config.h.in | 3 + config.make.in | 1 + configure | 137 ++-- configure.in | 18 +- csu/Makefile | 6 +- ctype.h | 1 - ctype/ctype-info.c | 10 +- ctype/ctype.h | 7 +- db.h | 1 - db/db.h | 7 +- db/mpool.h | 5 + db/ndbm.h | 6 +- dirent.h | 1 - dirent/Makefile | 2 +- dirent/dirent.h | 10 +- dlfcn.h | 1 - elf.h | 1 - elf/Makefile | 2 +- elf/dl-lookup.c | 7 +- elf/dlfcn.h | 2 +- elf/elf.h | 43 +- elf/eval.c | 4 +- elf/link.h | 5 +- endian.h | 1 - envz.h | 1 - err.h | 1 - errno.h | 73 -- error.h | 1 - fcntl.h | 1 - features.h | 236 ------ fnmatch.h | 1 - ftw.h | 1 - getopt.h | 1 - glob.h | 1 - gmon/sys/gmon.h | 6 +- gmon/sys/gmon_out.h | 4 +- gnu-versions.h | 53 -- grp.h | 1 - grp/fgetgrent.c | 2 +- grp/grp.h | 4 +- hurd/hurd/ioctl.h | 2 +- hurd/intr-msg.c | 4 +- include/aliases.h | 1 + include/alloca.h | 1 + include/argp.h | 1 + include/argz.h | 1 + include/arpa/ftp.h | 1 + include/arpa/inet.h | 1 + include/arpa/nameser.h | 1 + include/arpa/telnet.h | 1 + include/arpa/tftp.h | 1 + include/assert.h | 1 + include/bits/mathcalls.h | 1 + include/bits/posix1_lim.h | 1 + include/bits/posix2_lim.h | 1 + include/bits/stab.def | 1 + include/bits/xopen_lim.h | 94 +++ include/ctype.h | 1 + include/db.h | 1 + include/dirent.h | 1 + include/dlfcn.h | 1 + include/elf.h | 1 + include/endian.h | 1 + include/envz.h | 1 + include/err.h | 1 + include/errno.h | 73 ++ include/error.h | 1 + include/fcntl.h | 1 + include/features.h | 235 ++++++ include/fnmatch.h | 1 + include/ftw.h | 1 + include/getopt.h | 1 + include/glob.h | 1 + include/gnu-versions.h | 53 ++ include/grp.h | 1 + include/langinfo.h | 1 + include/libc-symbols.h | 322 +++++++++ include/libgen.h | 1 + include/libintl.h | 1 + include/limits.h | 123 ++++ include/linewrap.h | 1 + include/link.h | 1 + include/locale.h | 1 + include/malloc.h | 1 + include/math.h | 1 + include/mcheck.h | 1 + include/memory.h | 1 + include/monetary.h | 1 + include/netdb.h | 1 + include/netgroup.h | 1 + include/netinet/ether.h | 1 + include/netinet/in.h | 1 + include/nlist.h | 1 + include/nss.h | 1 + include/nsswitch.h | 1 + include/obstack.h | 1 + include/poll.h | 1 + include/printf.h | 1 + include/protocols/routed.h | 1 + include/protocols/rwhod.h | 1 + include/protocols/talkd.h | 1 + include/protocols/timed.h | 1 + include/pwd.h | 1 + include/regex.h | 1 + include/resolv.h | 1 + include/rpc/auth_unix.h | 1 + include/rpc/clnt.h | 1 + include/rpc/netdb.h | 1 + include/rpc/pmap_clnt.h | 1 + include/rpc/pmap_prot.h | 1 + include/rpc/pmap_rmt.h | 1 + include/rpc/rpc.h | 1 + include/rpc/rpc_msg.h | 1 + include/rpc/svc.h | 1 + include/rpc/svc_auth.h | 1 + include/rpc/types.h | 1 + include/rpc/xdr.h | 1 + include/sched.h | 1 + include/search.h | 1 + include/set-hooks.h | 57 ++ include/setjmp.h | 1 + include/sgtty.h | 1 + include/shadow.h | 1 + include/signal.h | 1 + include/stab.h | 1 + include/stdio.h | 5 + include/stdlib.h | 1 + include/string.h | 1 + include/strings.h | 1 + include/sys/bitypes.h | 1 + include/sys/cdefs.h | 1 + include/sys/dir.h | 1 + include/sys/errno.h | 1 + include/sys/fcntl.h | 1 + include/sys/file.h | 1 + include/sys/gmon.h | 1 + include/sys/ioctl.h | 1 + include/sys/ipc.h | 1 + include/sys/msg.h | 1 + include/sys/poll.h | 1 + include/sys/queue.h | 1 + include/sys/resource.h | 1 + include/sys/select.h | 1 + include/sys/sem.h | 1 + include/sys/shm.h | 1 + include/sys/signal.h | 1 + include/sys/socket.h | 1 + include/sys/stat.h | 1 + include/sys/statfs.h | 1 + include/sys/syslog.h | 1 + include/sys/termios.h | 1 + include/sys/time.h | 1 + include/sys/timeb.h | 1 + include/sys/times.h | 1 + include/sys/types.h | 1 + include/sys/uio.h | 1 + include/sys/un.h | 1 + include/sys/unistd.h | 1 + include/sys/utsname.h | 1 + include/sys/vlimit.h | 1 + include/sys/vtimes.h | 1 + include/sys/wait.h | 1 + include/syscall.h | 1 + include/sysexits.h | 1 + include/syslog.h | 1 + include/tar.h | 1 + include/termios.h | 1 + include/time.h | 1 + include/ttyent.h | 1 + include/unistd.h | 1 + include/utime.h | 1 + include/utmp.h | 1 + include/values.h | 69 ++ include/wchar.h | 1 + include/wctype.h | 1 + include/wordexp.h | 1 + include/xlocale.h | 1 + inet/aliases.h | 2 +- inet/arpa/ftp.h | 6 +- inet/arpa/inet.h | 2 +- inet/arpa/telnet.h | 6 +- inet/arpa/tftp.h | 6 +- inet/getnameinfo.c | 2 +- inet/getnetgrent_r.c | 2 +- inet/inet_ntoa.c | 2 +- inet/netinet/ether.h | 4 +- inet/netinet/icmp6.h | 2 +- inet/netinet/in.h | 6 +- inet/netinet/ip6.h | 2 +- inet/protocols/routed.h | 6 +- inet/protocols/rwhod.h | 6 +- inet/protocols/talkd.h | 6 +- inet/protocols/timed.h | 6 +- intl/libintl.h | 2 +- io/Makefile | 4 +- io/fcntl.h | 6 +- io/fts.h | 6 +- io/ftw.h | 4 +- io/sys/poll.h | 4 +- io/sys/stat.h | 33 +- io/sys/statfs.h | 4 +- io/utime.h | 4 +- langinfo.h | 1 - libc-symbols.h | 322 --------- libc.map | 16 +- libgen.h | 1 - libintl.h | 1 - libio/_G_config.h | 4 +- libio/libio.h | 2 +- libio/libioP.h | 2 +- libio/stdio.h | 4 +- limits.h | 123 ---- linewrap.h | 1 - link.h | 1 - locale.h | 1 - locale/duplocale.c | 2 +- locale/freelocale.c | 2 +- locale/lc-time.c | 2 +- locale/locale.h | 2 +- locale/programs/locale.c | 2 +- locale/setlocale.c | 2 +- login/Makefile | 2 +- login/getutent_r.c | 6 +- login/getutid_r.c | 2 +- login/getutline_r.c | 2 +- login/lastlog.h | 2 +- login/logout.c | 2 +- login/pty.h | 4 +- login/utmp-private.h | 3 - login/utmp.h | 7 +- login/utmpname.c | 2 +- mach/msg-destroy.c | 24 +- malloc.h | 1 - malloc/malloc.h | 2 +- malloc/mtrace.c | 2 +- malloc/obstack.h | 6 +- malloc/thread-m.h | 2 +- manual/libc.texinfo | 9 +- math.h | 1 - math/Makefile | 12 +- math/bits/cmathcalls.h | 152 ++++ math/bits/mathcalls.h | 285 ++++++++ math/cmathcalls.h | 152 ---- math/complex.h | 14 +- math/fenv.h | 4 +- math/libm-test.c | 58 +- math/libm.map | 105 ++- math/math.h | 22 +- math/math_private.h | 10 +- math/mathcalls.h | 285 -------- mathcalls.h | 1 - mcheck.h | 1 - md5-crypt/md5.h | 2 +- memory.h | 1 - misc/Makefile | 10 +- misc/ar.h | 2 +- misc/bits/stab.def | 232 ++++++ misc/err.h | 5 +- misc/error.h | 6 +- misc/fstab.h | 6 +- misc/libgen.h | 2 +- misc/nlist.h | 2 +- misc/sgtty.h | 3 +- misc/stab.def | 232 ------ misc/stab.h | 2 +- misc/sys/cdefs.h | 2 +- misc/sys/dir.h | 2 +- misc/sys/file.h | 2 +- misc/sys/ioctl.h | 16 +- misc/sys/queue.h | 6 +- misc/sys/select.h | 6 +- misc/sys/syslog.h | 5 + misc/sys/uio.h | 4 +- misc/sys/ustat.h | 10 +- misc/sysexits.h | 6 +- misc/syslog.c | 2 +- misc/ttyent.h | 6 +- monetary.h | 1 - netdb.h | 1 - netgroup.h | 1 - netinet/ether.h | 1 - netinet/in.h | 1 - nis/nss_compat/compat-grp.c | 2 +- nis/nss_compat/compat-pwd.c | 2 +- nis/nss_compat/compat-spwd.c | 2 +- nis/nss_nis/nis-alias.c | 2 +- nis/nss_nis/nis-ethers.c | 2 +- nis/nss_nis/nis-grp.c | 2 +- nis/nss_nis/nis-hosts.c | 2 +- nis/nss_nis/nis-netgrp.c | 2 +- nis/nss_nis/nis-network.c | 2 +- nis/nss_nis/nis-proto.c | 2 +- nis/nss_nis/nis-publickey.c | 4 +- nis/nss_nis/nis-pwd.c | 2 +- nis/nss_nis/nis-rpc.c | 2 +- nis/nss_nis/nis-service.c | 2 +- nis/nss_nis/nis-spwd.c | 2 +- nis/nss_nisplus/nisplus-alias.c | 2 +- nis/nss_nisplus/nisplus-ethers.c | 2 +- nis/nss_nisplus/nisplus-grp.c | 8 +- nis/nss_nisplus/nisplus-hosts.c | 2 +- nis/nss_nisplus/nisplus-netgrp.c | 24 +- nis/nss_nisplus/nisplus-network.c | 2 +- nis/nss_nisplus/nisplus-proto.c | 2 +- nis/nss_nisplus/nisplus-pwd.c | 2 +- nis/nss_nisplus/nisplus-rpc.c | 2 +- nis/nss_nisplus/nisplus-service.c | 2 +- nis/nss_nisplus/nisplus-spwd.c | 4 +- nis/ypclnt.c | 2 +- nlist.h | 1 - nss.h | 1 - nss/Makefile | 6 +- nss/function.def | 95 +++ nss/getXXbyYY.c | 2 +- nss/getXXent.c | 2 +- nss/getXXent_r.c | 2 +- nss/nss.h | 2 +- nss/nss_db/db-XXX.c | 2 +- nss/nss_db/db-alias.c | 2 +- nss/nss_db/db-netgrp.c | 2 +- nss/nss_files/files-XXX.c | 2 +- nss/nss_files/files-alias.c | 2 +- nss/nsswitch.c | 58 +- nsswitch.h | 1 - obstack.h | 1 - po/ko.po | 763 +++++++++++--------- poll.h | 1 - posix/Makefile | 11 +- posix/bits/posix1_lim.h | 108 +++ posix/bits/posix2_lim.h | 101 +++ posix/fnmatch.h | 1 - posix/getopt.h | 2 +- posix/glob.h | 1 - posix/posix1_lim.h | 107 --- posix/posix2_lim.h | 98 --- posix/regex.h | 6 +- posix/sched.h | 4 +- posix/sys/times.h | 2 +- posix/sys/types.h | 29 +- posix/sys/utsname.h | 5 +- posix/sys/wait.h | 8 +- posix/tar.h | 1 - posix/unistd.h | 8 +- posix/wordexp.h | 2 +- posix1_lim.h | 1 - posix2_lim.h | 1 - printf.h | 1 - protocols/routed.h | 1 - protocols/rwhod.h | 1 - protocols/talkd.h | 1 - protocols/timed.h | 1 - pwd.h | 1 - pwd/fgetpwent.c | 2 +- pwd/pwd.h | 4 +- regex.h | 1 - resolv.h | 1 - resolv/Makefile | 2 + resolv/arpa/nameser.h | 6 +- resolv/netdb.h | 2 +- resolv/resolv.h | 6 +- resource/Makefile | 2 +- resource/sys/resource.h | 6 +- resource/sys/vlimit.h | 4 +- resource/sys/vtimes.h | 2 +- rpc/auth_unix.h | 1 - rpc/clnt.h | 1 - rpc/netdb.h | 1 - rpc/pmap_clnt.h | 1 - rpc/pmap_prot.h | 1 - rpc/pmap_rmt.h | 1 - rpc/rpc.h | 1 - rpc/rpc_msg.h | 1 - rpc/svc.h | 1 - rpc/svc_auth.h | 1 - rpc/types.h | 1 - rpc/xdr.h | 1 - sched.h | 1 - search.h | 1 - set-hooks.h | 56 -- setjmp.h | 1 - setjmp/Makefile | 2 +- setjmp/setjmp.h | 7 +- sgtty.h | 1 - shadow.h | 1 - shadow/fgetspent.c | 2 +- shadow/lckpwdf.c | 2 +- shadow/sgetspent.c | 2 +- shadow/shadow.h | 2 +- signal.h | 1 - signal/Makefile | 3 +- signal/signal.h | 10 +- signal/sigsetops.c | 2 +- socket/Makefile | 2 +- socket/sys/socket.h | 4 +- socket/sys/un.h | 4 +- stdio-common/Makefile | 2 +- stdio-common/vfprintf.c | 2 +- stdio-common/vfscanf.c | 2 +- stdio.h | 5 - stdio/stdio.h | 4 +- stdlib.h | 1 - stdlib/alloca.h | 1 + stdlib/atexit.c | 2 +- stdlib/exit.h | 1 + stdlib/fmtmsg.c | 2 +- stdlib/fmtmsg.h | 2 +- stdlib/monetary.h | 2 +- stdlib/random.c | 2 +- stdlib/stdlib.h | 2 +- string.h | 1 - string/argz.h | 4 +- string/endian.h | 3 +- string/envz.h | 6 +- string/memory.h | 2 +- string/string.h | 2 +- string/strings.h | 2 +- strings.h | 1 - sunrpc/rpc/auth_unix.h | 2 +- sunrpc/rpc/clnt.h | 2 +- sunrpc/rpc/netdb.h | 2 +- sunrpc/rpc/pmap_clnt.h | 1 + sunrpc/rpc/pmap_prot.h | 2 +- sunrpc/rpc/pmap_rmt.h | 2 +- sunrpc/rpc/rpc.h | 7 +- sunrpc/rpc/rpc_msg.h | 1 + sunrpc/rpc/svc.h | 6 +- sunrpc/rpc/svc_auth.h | 2 +- sunrpc/rpc/types.h | 6 +- sunrpc/rpc/xdr.h | 6 +- sys/bitypes.h | 1 - sys/cdefs.h | 1 - sys/dir.h | 1 - sys/errno.h | 1 - sys/fcntl.h | 1 - sys/file.h | 1 - sys/gmon.h | 1 - sys/ioctl.h | 1 - sys/ipc.h | 1 - sys/msg.h | 1 - sys/poll.h | 1 - sys/queue.h | 1 - sys/resource.h | 1 - sys/select.h | 1 - sys/sem.h | 1 - sys/shm.h | 1 - sys/signal.h | 1 - sys/socket.h | 1 - sys/stat.h | 1 - sys/statfs.h | 1 - sys/syslog.h | 1 - sys/termios.h | 1 - sys/time.h | 1 - sys/timeb.h | 1 - sys/times.h | 1 - sys/types.h | 1 - sys/uio.h | 1 - sys/un.h | 1 - sys/unistd.h | 1 - sys/utsname.h | 1 - sys/vlimit.h | 1 - sys/vtimes.h | 1 - sys/wait.h | 1 - syscall.h | 1 - sysdeps/alpha/__math.h | 44 -- sysdeps/alpha/bits/endian.h | 3 + sysdeps/alpha/bits/setjmp.h | 46 ++ sysdeps/alpha/bytesex.h | 3 - sysdeps/alpha/fpu/bits/fenv.h | 104 +++ sysdeps/alpha/fpu/bits/mathdef.h | 64 ++ sysdeps/alpha/fpu/bits/mathinline.h | 44 ++ sysdeps/alpha/fpu/fenvbits.h | 107 --- sysdeps/alpha/jmp_buf.h | 46 -- sysdeps/alpha/w_sqrt.S | 2 +- sysdeps/arm/__longjmp.S | 2 +- sysdeps/arm/bits/endian.h | 3 + sysdeps/arm/bits/setjmp.h | 10 + sysdeps/arm/bytesex.h | 3 - sysdeps/arm/jmp_buf.h | 10 - sysdeps/arm/setjmp.S | 2 +- sysdeps/generic/Makefile | 2 +- sysdeps/generic/abort.c | 2 +- sysdeps/generic/bits/confname.h | 325 +++++++++ sysdeps/generic/bits/ioctl-types.h | 121 ++++ sysdeps/generic/bits/mathdef.h | 40 ++ sysdeps/generic/bits/resource.h | 146 ++++ sysdeps/generic/bits/sched.h | 35 + sysdeps/generic/bits/select.h | 29 + sysdeps/generic/bits/sigaction.h | 50 ++ sysdeps/generic/bits/sigset.h | 81 +++ sysdeps/generic/bits/sockaddr.h | 41 ++ sysdeps/generic/bits/socket.h | 200 ++++++ sysdeps/generic/bits/statfs.h | 52 ++ sysdeps/generic/bits/termios.h | 230 ++++++ sysdeps/generic/bits/types.h | 94 +++ sysdeps/generic/bits/uio.h | 32 + sysdeps/generic/bits/ustat.h | 30 + sysdeps/generic/bits/utmp.h | 53 ++ sysdeps/generic/bits/utsname.h | 3 + sysdeps/generic/bits/waitstatus.h | 104 +++ sysdeps/generic/confname.h | 325 --------- sysdeps/generic/gnu/types.h | 81 --- sysdeps/generic/ioctl-types.h | 117 --- sysdeps/generic/iovec.h | 9 - sysdeps/generic/mathbits.h | 40 -- sysdeps/generic/netinet/ip.h | 2 +- sysdeps/generic/resourcebits.h | 146 ---- sysdeps/generic/schedbits.h | 35 - sysdeps/generic/selectbits.h | 29 - sysdeps/generic/setenv.c | 2 +- sysdeps/generic/sigaction.h | 50 -- sysdeps/generic/sigset.h | 81 --- sysdeps/generic/sockaddrcom.h | 37 - sysdeps/generic/socketbits.h | 200 ------ sysdeps/generic/statfsbuf.h | 49 -- sysdeps/generic/sys/mman.h | 2 +- sysdeps/generic/termbits.h | 229 ------ sysdeps/generic/ustatbits.h | 30 - sysdeps/generic/utmpbits.h | 53 -- sysdeps/generic/utsnamelen.h | 3 - sysdeps/generic/waitstatus.h | 104 --- sysdeps/gnu/bits/utmp.h | 121 ++++ sysdeps/gnu/utmpbits.h | 121 ---- sysdeps/i386/__longjmp.S | 2 +- sysdeps/i386/bits/endian.h | 3 + sysdeps/i386/bits/huge_val.h | 70 ++ sysdeps/i386/bits/select.h | 57 ++ sysdeps/i386/bits/setjmp.h | 19 + sysdeps/i386/bytesex.h | 3 - sysdeps/i386/dl-machine.h | 4 + sysdeps/i386/fpu/__math.h | 608 ---------------- sysdeps/i386/fpu/bits/fenv.h | 89 +++ sysdeps/i386/fpu/bits/mathdef.h | 41 ++ sysdeps/i386/fpu/bits/mathinline.h | 608 ++++++++++++++++ sysdeps/i386/fpu/fenvbits.h | 91 --- sysdeps/i386/fpu/mathbits.h | 41 -- sysdeps/i386/huge_val.h | 70 -- sysdeps/i386/jmp_buf.h | 19 - sysdeps/i386/selectbits.h | 57 -- sysdeps/i386/setjmp.S | 2 +- sysdeps/ieee754/bits/huge_val.h | 89 +++ sysdeps/ieee754/bits/nan.h | 63 ++ sysdeps/ieee754/huge_val.h | 88 --- sysdeps/ieee754/nan.h | 64 -- sysdeps/libm-ieee754/k_standard.c | 88 +-- sysdeps/libm-ieee754/w_gamma.c | 6 +- sysdeps/libm-ieee754/w_gammaf.c | 6 +- sysdeps/libm-ieee754/w_gammal.c | 6 +- sysdeps/m68k/bits/endian.h | 3 + sysdeps/m68k/bits/huge_val.h | 75 ++ sysdeps/m68k/bits/setjmp.h | 19 + sysdeps/m68k/bytesex.h | 3 - sysdeps/m68k/dl-machine.h | 4 + sysdeps/m68k/fpu/__math.h | 464 ------------ sysdeps/m68k/fpu/bits/fenv.h | 78 ++ sysdeps/m68k/fpu/bits/mathdef.h | 36 + sysdeps/m68k/fpu/bits/mathinline.h | 464 ++++++++++++ sysdeps/m68k/fpu/fenvbits.h | 80 --- sysdeps/m68k/fpu/mathbits.h | 36 - sysdeps/m68k/fpu/switch/__math.h | 1 - sysdeps/m68k/fpu/switch/bits/mathinline.h | 1 + sysdeps/m68k/huge_val.h | 75 -- sysdeps/m68k/jmp_buf.h | 19 - sysdeps/mach/bits/libc-lock.h | 90 +++ sysdeps/mach/hurd/alpha/bits/sigcontext.h | 65 ++ sysdeps/mach/hurd/alpha/sigcontext.h | 65 -- sysdeps/mach/hurd/bits/errno.h | 316 ++++++++ sysdeps/mach/hurd/bits/fcntl.h | 175 +++++ sysdeps/mach/hurd/bits/ioctls.h | 353 +++++++++ sysdeps/mach/hurd/bits/local_lim.h | 39 + sysdeps/mach/hurd/bits/posix_opt.h | 21 + sysdeps/mach/hurd/bits/stat.h | 136 ++++ sysdeps/mach/hurd/dirstream.h | 2 +- sysdeps/mach/hurd/errnos.h | 316 -------- sysdeps/mach/hurd/fcntlbits.h | 179 ----- sysdeps/mach/hurd/hppa/bits/sigcontext.h | 86 +++ sysdeps/mach/hurd/hppa/sigcontext.h | 86 --- sysdeps/mach/hurd/i386/bits/sigcontext.h | 106 +++ sysdeps/mach/hurd/i386/sigcontext.h | 106 --- sysdeps/mach/hurd/ioctl.c | 8 +- sysdeps/mach/hurd/ioctls.h | 349 --------- sysdeps/mach/hurd/jmp-unwind.c | 2 +- sysdeps/mach/hurd/local_lim.h | 39 - sysdeps/mach/hurd/mips/bits/sigcontext.h | 71 ++ sysdeps/mach/hurd/mips/dl-machine.c | 131 ++++ sysdeps/mach/hurd/mips/exc2signal.c | 65 +- sysdeps/mach/hurd/mips/init-fault.c | 41 ++ sysdeps/mach/hurd/mips/init-first.c | 407 +++++++++++ sysdeps/mach/hurd/mips/intr-msg.h | 127 ++++ sysdeps/mach/hurd/mips/longjmp-ctx.c | 41 ++ sysdeps/mach/hurd/mips/longjmp-ts.c | 34 +- sysdeps/mach/hurd/mips/sigcontext.h | 71 -- sysdeps/mach/hurd/mips/sigreturn.c | 100 ++- sysdeps/mach/hurd/mips/trampoline.c | 217 +++--- sysdeps/mach/hurd/posix_opt.h | 21 - sysdeps/mach/hurd/select.c | 2 +- sysdeps/mach/hurd/statbuf.h | 131 ---- sysdeps/mach/libc-lock.h | 90 --- sysdeps/mach/mips/cacheflush.c | 30 +- sysdeps/mach/mips/machine-lock.h | 63 +- sysdeps/mach/mips/machine-sp.h | 34 +- sysdeps/mach/mips/syscall.S | 57 +- sysdeps/mach/mips/sysdep.h | 58 +- sysdeps/mach/mips/thread_state.h | 33 +- sysdeps/mach/start.c | 3 + sysdeps/mips/add_n.S | 121 ++++ sysdeps/mips/add_n.s | 120 ---- sysdeps/mips/addmul_1.S | 98 +++ sysdeps/mips/addmul_1.s | 97 --- sysdeps/mips/bits/endian.h | 4 + sysdeps/mips/bits/setjmp.h | 53 ++ sysdeps/mips/bsd-_setjmp.S | 43 +- sysdeps/mips/bsd-setjmp.S | 39 +- sysdeps/mips/bytesex.h | 4 - sysdeps/mips/dec/bits/endian.h | 4 + sysdeps/mips/dec/bytesex.h | 4 - sysdeps/mips/dl-machine.h | 387 +++++++--- sysdeps/mips/elf/start.S | 181 +++++ sysdeps/mips/fpu_control.h | 96 +++ sysdeps/mips/init-first.c | 64 ++ sysdeps/mips/jmp_buf.h | 53 -- sysdeps/mips/lshift.S | 97 +++ sysdeps/mips/lshift.s | 95 --- sysdeps/mips/machine-gmon.h | 57 ++ sysdeps/mips/mips64/Implies | 1 + sysdeps/mips/mips64/__longjmp.c | 85 +++ sysdeps/mips/mips64/add_n.S | 129 ++++ sysdeps/mips/mips64/addmul_1.S | 106 +++ sysdeps/mips/mips64/bits/setjmp.h | 54 ++ sysdeps/mips/mips64/bsd-_setjmp.S | 36 + sysdeps/mips/mips64/bsd-setjmp.S | 36 + sysdeps/mips/mips64/gmp-mparam.h | 4 +- sysdeps/mips/mips64/lshift.S | 104 +++ sysdeps/mips/mips64/mul_1.S | 94 +++ sysdeps/mips/mips64/rshift.S | 101 +++ sysdeps/mips/mips64/setjmp.S | 35 + sysdeps/mips/mips64/setjmp_aux.c | 67 ++ sysdeps/mips/mips64/sub_n.S | 129 ++++ sysdeps/mips/mips64/submul_1.S | 106 +++ sysdeps/mips/mipsel/bits/endian.h | 4 + sysdeps/mips/mipsel/bytesex.h | 4 - sysdeps/mips/mul_1.S | 86 +++ sysdeps/mips/mul_1.s | 85 --- sysdeps/mips/p40/bits/endian.h | 4 + sysdeps/mips/p40/bytesex.h | 4 - sysdeps/mips/rshift.S | 94 +++ sysdeps/mips/rshift.s | 92 --- sysdeps/mips/setjmp.S | 43 +- sysdeps/mips/setjmp_aux.c | 27 +- sysdeps/mips/sub_n.S | 121 ++++ sysdeps/mips/sub_n.s | 120 ---- sysdeps/mips/submul_1.S | 98 +++ sysdeps/mips/submul_1.s | 97 --- sysdeps/posix/Makefile | 12 +- sysdeps/posix/mk-stdiolim.c | 8 +- sysdeps/powerpc/__longjmp.S | 2 +- sysdeps/powerpc/__math.h | 70 -- sysdeps/powerpc/bits/fenv.h | 128 ++++ sysdeps/powerpc/bits/mathdef.h | 72 ++ sysdeps/powerpc/bits/mathinline.h | 70 ++ sysdeps/powerpc/bits/setjmp.h | 19 + sysdeps/powerpc/dl-machine.h | 4 + sysdeps/powerpc/fenvbits.h | 130 ---- sysdeps/powerpc/jmp_buf.h | 19 - sysdeps/powerpc/mathbits.h | 72 -- sysdeps/powerpc/setjmp.S | 2 +- sysdeps/sparc/__longjmp.S | 30 +- sysdeps/sparc/bits/endian.h | 3 + sysdeps/sparc/bits/setjmp.h | 16 + sysdeps/sparc/bytesex.h | 3 - sysdeps/sparc/jmp_buf.h | 16 - sysdeps/sparc/setjmp.S | 2 +- sysdeps/standalone/arm/bits/errno.h | 52 ++ sysdeps/standalone/arm/errnos.h | 52 -- sysdeps/standalone/bits/stdio_lim.h | 27 + sysdeps/standalone/close.c | 2 +- sysdeps/standalone/filedesc.h | 2 +- sysdeps/standalone/open.c | 2 +- sysdeps/standalone/stdio_lim.h | 27 - sysdeps/stub/__math.h | 6 - sysdeps/stub/bits/dirent.h | 24 + sysdeps/stub/bits/elfclass.h | 8 + sysdeps/stub/bits/endian.h | 9 + sysdeps/stub/bits/errno.h | 40 ++ sysdeps/stub/bits/fcntl.h | 85 +++ sysdeps/stub/bits/fenv.h | 61 ++ sysdeps/stub/bits/huge_val.h | 26 + sysdeps/stub/bits/ioctls.h | 1 + sysdeps/stub/bits/ipc.h | 56 ++ sysdeps/stub/bits/libc-lock.h | 83 +++ sysdeps/stub/bits/local_lim.h | 3 + sysdeps/stub/bits/mathinline.h | 6 + sysdeps/stub/bits/msq.h | 47 ++ sysdeps/stub/bits/nan.h | 5 + sysdeps/stub/bits/posix_opt.h | 2 + sysdeps/stub/bits/sem.h | 61 ++ sysdeps/stub/bits/setjmp.h | 3 + sysdeps/stub/bits/shm.h | 53 ++ sysdeps/stub/bits/sigcontext.h | 29 + sysdeps/stub/bits/signum.h | 53 ++ sysdeps/stub/bits/stat.h | 74 ++ sysdeps/stub/bits/stdio_lim.h | 4 + sysdeps/stub/bits/time.h | 44 ++ sysdeps/stub/bits/waitflags.h | 27 + sysdeps/stub/bytesex.h | 9 - sysdeps/stub/direntry.h | 24 - sysdeps/stub/elfclass.h | 8 - sysdeps/stub/errnos.h | 40 -- sysdeps/stub/fcntlbits.h | 88 --- sysdeps/stub/fenvbits.h | 63 -- sysdeps/stub/huge_val.h | 26 - sysdeps/stub/ioctls.h | 1 - sysdeps/stub/jmp_buf.h | 3 - sysdeps/stub/libc-lock.h | 83 --- sysdeps/stub/local_lim.h | 3 - sysdeps/stub/nan.h | 6 - sysdeps/stub/posix_opt.h | 2 - sysdeps/stub/sigcontext.h | 29 - sysdeps/stub/signum.h | 53 -- sysdeps/stub/statbuf.h | 71 -- sysdeps/stub/stdio_lim.h | 4 - sysdeps/stub/sys/ipc_buf.h | 56 -- sysdeps/stub/sys/msq_buf.h | 47 -- sysdeps/stub/sys/sem_buf.h | 61 -- sysdeps/stub/sys/shm_buf.h | 53 -- sysdeps/stub/timebits.h | 40 -- sysdeps/stub/waitflags.h | 28 - sysdeps/unix/Makefile | 49 +- sysdeps/unix/bsd/bits/dirent.h | 29 + sysdeps/unix/bsd/bits/fcntl.h | 114 +++ sysdeps/unix/bsd/bits/posix_opt.h | 5 + sysdeps/unix/bsd/bits/signum.h | 70 ++ sysdeps/unix/bsd/bits/stat.h | 87 +++ sysdeps/unix/bsd/bits/waitflags.h | 30 + sysdeps/unix/bsd/bsd4.4/bits/dirent.h | 33 + sysdeps/unix/bsd/bsd4.4/bits/errno.h | 170 +++++ sysdeps/unix/bsd/bsd4.4/bits/fcntl.h | 113 +++ sysdeps/unix/bsd/bsd4.4/bits/ioctls.h | 292 ++++++++ sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h | 42 ++ sysdeps/unix/bsd/bsd4.4/direntry.h | 33 - sysdeps/unix/bsd/bsd4.4/errnos.h | 170 ----- sysdeps/unix/bsd/bsd4.4/fcntlbits.h | 116 --- sysdeps/unix/bsd/bsd4.4/ioctls.h | 292 -------- sysdeps/unix/bsd/bsd4.4/sockaddrcom.h | 38 - sysdeps/unix/bsd/bsd4.4/tcgetattr.c | 2 +- sysdeps/unix/bsd/bsd4.4/tcsetattr.c | 2 +- sysdeps/unix/bsd/direntry.h | 29 - sysdeps/unix/bsd/fcntlbits.h | 117 --- sysdeps/unix/bsd/m68k/sysdep.S | 2 +- sysdeps/unix/bsd/osf/alpha/bits/stat.h | 80 +++ sysdeps/unix/bsd/osf/alpha/statbuf.h | 76 -- sysdeps/unix/bsd/osf/bits/sigaction.h | 46 ++ sysdeps/unix/bsd/osf/sigaction.h | 46 -- sysdeps/unix/bsd/osf/sys/mman.h | 2 +- sysdeps/unix/bsd/posix_opt.h | 5 - sysdeps/unix/bsd/signum.h | 70 -- sysdeps/unix/bsd/statbuf.h | 84 --- sysdeps/unix/bsd/sun/bits/signum.h | 69 ++ sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h | 26 + sysdeps/unix/bsd/sun/m68k/sethostid.S | 2 +- sysdeps/unix/bsd/sun/m68k/sigcontext.h | 26 - sysdeps/unix/bsd/sun/signum.h | 69 -- sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h | 31 + sysdeps/unix/bsd/sun/sparc/sethostid.S | 4 +- sysdeps/unix/bsd/sun/sparc/sigcontext.h | 31 - sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h | 142 ++++ sysdeps/unix/bsd/sun/sunos4/bits/resource.h | 139 ++++ sysdeps/unix/bsd/sun/sunos4/bits/termios.h | 208 ++++++ sysdeps/unix/bsd/sun/sunos4/bits/utsname.h | 2 + sysdeps/unix/bsd/sun/sunos4/fcntlbits.h | 145 ---- sysdeps/unix/bsd/sun/sunos4/resourcebits.h | 139 ---- sysdeps/unix/bsd/sun/sunos4/sys/mman.h | 2 +- sysdeps/unix/bsd/sun/sunos4/termbits.h | 208 ------ sysdeps/unix/bsd/sun/sunos4/utsnamelen.h | 2 - sysdeps/unix/bsd/ultrix4/bits/fcntl.h | 122 ++++ sysdeps/unix/bsd/ultrix4/bits/posix_opt.h | 23 + sysdeps/unix/bsd/ultrix4/bits/utsname.h | 1 + sysdeps/unix/bsd/ultrix4/fcntlbits.h | 125 ---- sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h | 60 ++ sysdeps/unix/bsd/ultrix4/mips/sigcontext.h | 60 -- sysdeps/unix/bsd/ultrix4/posix_opt.h | 23 - sysdeps/unix/bsd/ultrix4/sys/mman.h | 2 +- sysdeps/unix/bsd/ultrix4/utsnamelen.h | 1 - sysdeps/unix/bsd/vax/sysdep.S | 2 +- sysdeps/unix/bsd/waitflags.h | 31 - sysdeps/unix/common/bits/dirent.h | 29 + sysdeps/unix/common/bits/fcntl.h | 119 +++ sysdeps/unix/common/direntry.h | 29 - sysdeps/unix/common/fcntlbits.h | 122 ---- sysdeps/unix/dirstream.h | 2 +- sysdeps/unix/i386/sysdep.S | 2 +- sysdeps/unix/mips/sysdep.S | 2 +- sysdeps/unix/mk-local_lim.c | 3 +- sysdeps/unix/sparc/sysdep.S | 2 +- sysdeps/unix/sysv/bits/dirent.h | 24 + sysdeps/unix/sysv/bits/fcntl.h | 94 +++ sysdeps/unix/sysv/bits/local_lim.h | 32 + sysdeps/unix/sysv/bits/signum.h | 56 ++ sysdeps/unix/sysv/bits/stat.h | 65 ++ sysdeps/unix/sysv/bits/utmp.h | 57 ++ sysdeps/unix/sysv/bits/utsname.h | 1 + sysdeps/unix/sysv/direntry.h | 24 - sysdeps/unix/sysv/fcntlbits.h | 96 --- sysdeps/unix/sysv/irix4/bits/confname.h | 80 +++ sysdeps/unix/sysv/irix4/bits/fcntl.h | 107 +++ sysdeps/unix/sysv/irix4/bits/signum.h | 68 ++ sysdeps/unix/sysv/irix4/bits/stat.h | 65 ++ sysdeps/unix/sysv/irix4/confname.h | 80 --- sysdeps/unix/sysv/irix4/fcntlbits.h | 110 --- sysdeps/unix/sysv/irix4/signum.h | 68 -- sysdeps/unix/sysv/irix4/statbuf.h | 61 -- sysdeps/unix/sysv/irix4/sys/mman.h | 2 +- sysdeps/unix/sysv/linux/Dist | 4 +- sysdeps/unix/sysv/linux/Makefile | 4 +- sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 100 +++ sysdeps/unix/sysv/linux/alpha/bits/ioctls.h | 43 ++ sysdeps/unix/sysv/linux/alpha/bits/ipc.h | 85 +++ sysdeps/unix/sysv/linux/alpha/bits/sigaction.h | 51 ++ sysdeps/unix/sysv/linux/alpha/bits/signum.h | 69 ++ sysdeps/unix/sysv/linux/alpha/bits/stat.h | 78 ++ sysdeps/unix/sysv/linux/alpha/bits/termios.h | 193 +++++ sysdeps/unix/sysv/linux/alpha/bits/time.h | 54 ++ sysdeps/unix/sysv/linux/alpha/bits/types.h | 95 +++ sysdeps/unix/sysv/linux/alpha/brk.S | 2 +- sysdeps/unix/sysv/linux/alpha/clone.S | 2 +- sysdeps/unix/sysv/linux/alpha/fcntlbits.h | 100 --- sysdeps/unix/sysv/linux/alpha/gnu/types.h | 94 --- sysdeps/unix/sysv/linux/alpha/ioctls.h | 39 - sysdeps/unix/sysv/linux/alpha/kernel_termios.h | 44 ++ sysdeps/unix/sysv/linux/alpha/sigaction.h | 51 -- sysdeps/unix/sysv/linux/alpha/signum.h | 69 -- sysdeps/unix/sysv/linux/alpha/statbuf.h | 74 -- sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h | 85 --- sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h | 25 - sysdeps/unix/sysv/linux/alpha/termbits.h | 193 ----- sysdeps/unix/sysv/linux/alpha/timebits.h | 50 -- sysdeps/unix/sysv/linux/arm/clone.S | 2 +- sysdeps/unix/sysv/linux/arm/profil-counter.h | 2 +- sysdeps/unix/sysv/linux/arm/socket.S | 2 +- sysdeps/unix/sysv/linux/bits/dirent.h | 37 + sysdeps/unix/sysv/linux/bits/errno.h | 59 ++ sysdeps/unix/sysv/linux/bits/fcntl.h | 99 +++ sysdeps/unix/sysv/linux/bits/ioctl-types.h | 74 ++ sysdeps/unix/sysv/linux/bits/ioctls.h | 30 + sysdeps/unix/sysv/linux/bits/ipc.h | 85 +++ sysdeps/unix/sysv/linux/bits/local_lim.h | 21 + sysdeps/unix/sysv/linux/bits/msq.h | 78 ++ sysdeps/unix/sysv/linux/bits/posix_opt.h | 73 ++ sysdeps/unix/sysv/linux/bits/resource.h | 186 +++++ sysdeps/unix/sysv/linux/bits/sched.h | 54 ++ sysdeps/unix/sysv/linux/bits/sem.h | 88 +++ sysdeps/unix/sysv/linux/bits/shm.h | 92 +++ sysdeps/unix/sysv/linux/bits/sigaction.h | 54 ++ sysdeps/unix/sysv/linux/bits/sigcontext.h | 28 + sysdeps/unix/sysv/linux/bits/signum.h | 66 ++ sysdeps/unix/sysv/linux/bits/sigset.h | 123 ++++ sysdeps/unix/sysv/linux/bits/socket.h | 205 ++++++ sysdeps/unix/sysv/linux/bits/stat.h | 88 +++ sysdeps/unix/sysv/linux/bits/statfs.h | 42 ++ sysdeps/unix/sysv/linux/bits/termios.h | 189 +++++ sysdeps/unix/sysv/linux/bits/time.h | 56 ++ sysdeps/unix/sysv/linux/bits/types.h | 103 +++ sysdeps/unix/sysv/linux/bits/uio.h | 46 ++ sysdeps/unix/sysv/linux/bits/ustat.h | 27 + sysdeps/unix/sysv/linux/bits/utsname.h | 25 + sysdeps/unix/sysv/linux/bits/waitflags.h | 29 + sysdeps/unix/sysv/linux/direntry.h | 37 - sysdeps/unix/sysv/linux/errnos.h | 59 -- sysdeps/unix/sysv/linux/fcntlbits.h | 99 --- sysdeps/unix/sysv/linux/gnu/types.h | 89 --- sysdeps/unix/sysv/linux/i386/clone.S | 2 +- sysdeps/unix/sysv/linux/i386/profil-counter.h | 2 +- sysdeps/unix/sysv/linux/i386/socket.S | 2 +- sysdeps/unix/sysv/linux/ioctl-types.h | 70 -- sysdeps/unix/sysv/linux/ioctls.h | 26 - sysdeps/unix/sysv/linux/iovec.h | 47 -- sysdeps/unix/sysv/linux/kernel_termios.h | 38 + sysdeps/unix/sysv/linux/local_lim.h | 21 - sysdeps/unix/sysv/linux/m68k/clone.S | 2 +- sysdeps/unix/sysv/linux/m68k/socket.S | 2 +- sysdeps/unix/sysv/linux/netinet/ip.h | 4 +- sysdeps/unix/sysv/linux/netinet/tcp.h | 2 +- sysdeps/unix/sysv/linux/netipx/ipx.h | 90 ++- sysdeps/unix/sysv/linux/posix_opt.h | 69 -- sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h | 1 + sysdeps/unix/sysv/linux/powerpc/bits/termios.h | 280 ++++++++ sysdeps/unix/sysv/linux/powerpc/clone.S | 2 +- sysdeps/unix/sysv/linux/powerpc/ioctl-types.h | 1 - sysdeps/unix/sysv/linux/powerpc/kernel_termios.h | 26 +- sysdeps/unix/sysv/linux/powerpc/socket.S | 2 +- .../unix/sysv/linux/powerpc/sys/kernel_termios.h | 43 -- sysdeps/unix/sysv/linux/powerpc/termbits.h | 280 -------- sysdeps/unix/sysv/linux/resourcebits.h | 186 ----- sysdeps/unix/sysv/linux/schedbits.h | 55 -- sysdeps/unix/sysv/linux/sigaction.h | 54 -- sysdeps/unix/sysv/linux/sigcontext.h | 29 - sysdeps/unix/sysv/linux/signum.h | 66 -- sysdeps/unix/sysv/linux/sigset.h | 123 ---- sysdeps/unix/sysv/linux/socketbits.h | 205 ------ sysdeps/unix/sysv/linux/socketcall.h | 48 ++ sysdeps/unix/sysv/linux/sparc/bits/fcntl.h | 96 +++ sysdeps/unix/sysv/linux/sparc/bits/ioctls.h | 43 ++ sysdeps/unix/sysv/linux/sparc/bits/sigaction.h | 52 ++ sysdeps/unix/sysv/linux/sparc/bits/signum.h | 69 ++ sysdeps/unix/sysv/linux/sparc/bits/termios.h | 217 ++++++ sysdeps/unix/sysv/linux/sparc/fcntlbits.h | 96 --- sysdeps/unix/sysv/linux/sparc/ioctls.h | 39 - sysdeps/unix/sysv/linux/sparc/profil-counter.h | 2 +- sysdeps/unix/sysv/linux/sparc/sigaction.h | 52 -- sysdeps/unix/sysv/linux/sparc/signum.h | 69 -- sysdeps/unix/sysv/linux/sparc/socket.S | 2 +- sysdeps/unix/sysv/linux/sparc/termbits.h | 217 ------ sysdeps/unix/sysv/linux/statbuf.h | 84 --- sysdeps/unix/sysv/linux/statfsbuf.h | 38 - sysdeps/unix/sysv/linux/sys/ipc_buf.h | 85 --- sysdeps/unix/sysv/linux/sys/kernel_termios.h | 20 - sysdeps/unix/sysv/linux/sys/mman.h | 2 +- sysdeps/unix/sysv/linux/sys/msq_buf.h | 78 -- sysdeps/unix/sysv/linux/sys/sem_buf.h | 88 --- sysdeps/unix/sysv/linux/sys/shm_buf.h | 92 --- sysdeps/unix/sysv/linux/sys/socketcall.h | 48 -- sysdeps/unix/sysv/linux/sys/syscall.h | 4 +- sysdeps/unix/sysv/linux/tcgetattr.c | 2 +- sysdeps/unix/sysv/linux/tcsetattr.c | 2 +- sysdeps/unix/sysv/linux/termbits.h | 184 ----- sysdeps/unix/sysv/linux/timebits.h | 52 -- sysdeps/unix/sysv/linux/ustatbits.h | 27 - sysdeps/unix/sysv/linux/utsnamelen.h | 25 - sysdeps/unix/sysv/linux/waitflags.h | 30 - sysdeps/unix/sysv/local_lim.h | 32 - sysdeps/unix/sysv/minix/bits/sigaction.h | 49 ++ sysdeps/unix/sysv/minix/sigaction.h | 49 -- sysdeps/unix/sysv/sco3.2.4/bits/confname.h | 50 ++ sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h | 39 + sysdeps/unix/sysv/sco3.2.4/confname.h | 50 -- sysdeps/unix/sysv/sco3.2.4/sigaction.h | 39 - sysdeps/unix/sysv/sco3.2.4/sysconf.S | 2 +- sysdeps/unix/sysv/sco3.2/bits/local_lim.h | 37 + sysdeps/unix/sysv/sco3.2/local_lim.h | 37 - sysdeps/unix/sysv/signum.h | 56 -- sysdeps/unix/sysv/statbuf.h | 61 -- sysdeps/unix/sysv/sysv4/bits/sigaction.h | 51 ++ sysdeps/unix/sysv/sysv4/bits/signum.h | 66 ++ sysdeps/unix/sysv/sysv4/bits/sigset.h | 96 +++ sysdeps/unix/sysv/sysv4/bits/utsname.h | 1 + sysdeps/unix/sysv/sysv4/bits/waitflags.h | 34 + sysdeps/unix/sysv/sysv4/i386/bits/stat.h | 94 +++ sysdeps/unix/sysv/sysv4/i386/statbuf.h | 90 --- sysdeps/unix/sysv/sysv4/i386/sysdep.h | 2 +- sysdeps/unix/sysv/sysv4/sigaction.h | 51 -- sysdeps/unix/sysv/sysv4/signum.h | 66 -- sysdeps/unix/sysv/sysv4/sigset.h | 96 --- sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h | 73 ++ sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h | 87 +++ sysdeps/unix/sysv/sysv4/solaris2/signum.h | 73 -- .../sysv/sysv4/solaris2/sparc/bits/sigcontext.h | 1 + .../unix/sysv/sysv4/solaris2/sparc/sigcontext.h | 1 - sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S | 2 +- sysdeps/unix/sysv/sysv4/solaris2/statbuf.h | 83 --- sysdeps/unix/sysv/sysv4/utsnamelen.h | 1 - sysdeps/unix/sysv/sysv4/waitflags.h | 35 - sysdeps/unix/sysv/utmpbits.h | 58 -- sysdeps/unix/sysv/utsnamelen.h | 1 - sysdeps/vax/bits/huge_val.h | 26 + sysdeps/vax/bits/setjmp.h | 7 + sysdeps/vax/huge_val.h | 26 - sysdeps/vax/jmp_buf.h | 7 - sysdeps/wordsize-32/bits/elfclass.h | 5 + sysdeps/wordsize-32/elfclass.h | 5 - sysdeps/wordsize-32/inttypes.h | 5 + sysdeps/wordsize-64/bits/elfclass.h | 5 + sysdeps/wordsize-64/elfclass.h | 5 - sysdeps/wordsize-64/inttypes.h | 5 + sysexits.h | 1 - syslog.h | 1 - sysvipc/Makefile | 2 +- sysvipc/sys/ipc.h | 4 +- sysvipc/sys/msg.h | 2 +- sysvipc/sys/sem.h | 6 +- sysvipc/sys/shm.h | 6 +- tar.h | 1 - termios.h | 1 - termios/Makefile | 4 +- termios/sys/ttychars.h | 10 +- termios/termios.h | 10 +- time.h | 1 - time/Makefile | 2 +- time/localtime.c | 2 +- time/sys/time.h | 4 +- time/sys/timeb.h | 2 +- time/time.h | 6 +- time/tzset.c | 2 +- ttyent.h | 1 - unistd.h | 1 - utime.h | 1 - utmp.h | 1 - values.h | 69 -- wchar.h | 1 - wcsmbs/wchar.h | 2 +- wctype.h | 1 - wctype/wctype.h | 7 +- wordexp.h | 1 - xlocale.h | 1 - xopen_lim.h | 90 --- 1039 files changed, 23598 insertions(+), 17799 deletions(-) delete mode 100644 aliases.h delete mode 100644 alloca.h delete mode 100644 ansidecl.h delete mode 100644 argp.h delete mode 100644 argz.h delete mode 100644 arpa/ftp.h delete mode 100644 arpa/inet.h delete mode 100644 arpa/nameser.h delete mode 100644 arpa/telnet.h delete mode 100644 arpa/tftp.h delete mode 100644 assert.h create mode 100644 bits/confname.h create mode 100644 bits/ioctl-types.h create mode 100644 bits/mathdef.h create mode 100644 bits/resource.h create mode 100644 bits/sched.h create mode 100644 bits/select.h create mode 100644 bits/sigaction.h create mode 100644 bits/sigset.h create mode 100644 bits/sockaddr.h create mode 100644 bits/socket.h create mode 100644 bits/statfs.h create mode 100644 bits/termios.h create mode 100644 bits/types.h create mode 100644 bits/uio.h create mode 100644 bits/ustat.h create mode 100644 bits/utmp.h create mode 100644 bits/utsname.h create mode 100644 bits/waitstatus.h delete mode 100644 ctype.h delete mode 100644 db.h delete mode 100644 dirent.h delete mode 100644 dlfcn.h delete mode 100644 elf.h delete mode 100644 endian.h delete mode 100644 envz.h delete mode 100644 err.h delete mode 100644 errno.h delete mode 100644 error.h delete mode 100644 fcntl.h delete mode 100644 features.h delete mode 100644 fnmatch.h delete mode 100644 ftw.h delete mode 100644 getopt.h delete mode 100644 glob.h delete mode 100644 gnu-versions.h delete mode 100644 grp.h create mode 100644 include/aliases.h create mode 100644 include/alloca.h create mode 100644 include/argp.h create mode 100644 include/argz.h create mode 100644 include/arpa/ftp.h create mode 100644 include/arpa/inet.h create mode 100644 include/arpa/nameser.h create mode 100644 include/arpa/telnet.h create mode 100644 include/arpa/tftp.h create mode 100644 include/assert.h create mode 100644 include/bits/mathcalls.h create mode 100644 include/bits/posix1_lim.h create mode 100644 include/bits/posix2_lim.h create mode 100644 include/bits/stab.def create mode 100644 include/bits/xopen_lim.h create mode 100644 include/ctype.h create mode 100644 include/db.h create mode 100644 include/dirent.h create mode 100644 include/dlfcn.h create mode 100644 include/elf.h create mode 100644 include/endian.h create mode 100644 include/envz.h create mode 100644 include/err.h create mode 100644 include/errno.h create mode 100644 include/error.h create mode 100644 include/fcntl.h create mode 100644 include/features.h create mode 100644 include/fnmatch.h create mode 100644 include/ftw.h create mode 100644 include/getopt.h create mode 100644 include/glob.h create mode 100644 include/gnu-versions.h create mode 100644 include/grp.h create mode 100644 include/langinfo.h create mode 100644 include/libc-symbols.h create mode 100644 include/libgen.h create mode 100644 include/libintl.h create mode 100644 include/limits.h create mode 100644 include/linewrap.h create mode 100644 include/link.h create mode 100644 include/locale.h create mode 100644 include/malloc.h create mode 100644 include/math.h create mode 100644 include/mcheck.h create mode 100644 include/memory.h create mode 100644 include/monetary.h create mode 100644 include/netdb.h create mode 100644 include/netgroup.h create mode 100644 include/netinet/ether.h create mode 100644 include/netinet/in.h create mode 100644 include/nlist.h create mode 100644 include/nss.h create mode 100644 include/nsswitch.h create mode 100644 include/obstack.h create mode 100644 include/poll.h create mode 100644 include/printf.h create mode 100644 include/protocols/routed.h create mode 100644 include/protocols/rwhod.h create mode 100644 include/protocols/talkd.h create mode 100644 include/protocols/timed.h create mode 100644 include/pwd.h create mode 100644 include/regex.h create mode 100644 include/resolv.h create mode 100644 include/rpc/auth_unix.h create mode 100644 include/rpc/clnt.h create mode 100644 include/rpc/netdb.h create mode 100644 include/rpc/pmap_clnt.h create mode 100644 include/rpc/pmap_prot.h create mode 100644 include/rpc/pmap_rmt.h create mode 100644 include/rpc/rpc.h create mode 100644 include/rpc/rpc_msg.h create mode 100644 include/rpc/svc.h create mode 100644 include/rpc/svc_auth.h create mode 100644 include/rpc/types.h create mode 100644 include/rpc/xdr.h create mode 100644 include/sched.h create mode 100644 include/search.h create mode 100644 include/set-hooks.h create mode 100644 include/setjmp.h create mode 100644 include/sgtty.h create mode 100644 include/shadow.h create mode 100644 include/signal.h create mode 100644 include/stab.h create mode 100644 include/stdio.h create mode 100644 include/stdlib.h create mode 100644 include/string.h create mode 100644 include/strings.h create mode 100644 include/sys/bitypes.h create mode 100644 include/sys/cdefs.h create mode 100644 include/sys/dir.h create mode 100644 include/sys/errno.h create mode 100644 include/sys/fcntl.h create mode 100644 include/sys/file.h create mode 100644 include/sys/gmon.h create mode 100644 include/sys/ioctl.h create mode 100644 include/sys/ipc.h create mode 100644 include/sys/msg.h create mode 100644 include/sys/poll.h create mode 100644 include/sys/queue.h create mode 100644 include/sys/resource.h create mode 100644 include/sys/select.h create mode 100644 include/sys/sem.h create mode 100644 include/sys/shm.h create mode 100644 include/sys/signal.h create mode 100644 include/sys/socket.h create mode 100644 include/sys/stat.h create mode 100644 include/sys/statfs.h create mode 100644 include/sys/syslog.h create mode 100644 include/sys/termios.h create mode 100644 include/sys/time.h create mode 100644 include/sys/timeb.h create mode 100644 include/sys/times.h create mode 100644 include/sys/types.h create mode 100644 include/sys/uio.h create mode 100644 include/sys/un.h create mode 100644 include/sys/unistd.h create mode 100644 include/sys/utsname.h create mode 100644 include/sys/vlimit.h create mode 100644 include/sys/vtimes.h create mode 100644 include/sys/wait.h create mode 100644 include/syscall.h create mode 100644 include/sysexits.h create mode 100644 include/syslog.h create mode 100644 include/tar.h create mode 100644 include/termios.h create mode 100644 include/time.h create mode 100644 include/ttyent.h create mode 100644 include/unistd.h create mode 100644 include/utime.h create mode 100644 include/utmp.h create mode 100644 include/values.h create mode 100644 include/wchar.h create mode 100644 include/wctype.h create mode 100644 include/wordexp.h create mode 100644 include/xlocale.h delete mode 100644 langinfo.h delete mode 100644 libc-symbols.h delete mode 100644 libgen.h delete mode 100644 libintl.h delete mode 100644 limits.h delete mode 100644 linewrap.h delete mode 100644 link.h delete mode 100644 locale.h delete mode 100644 malloc.h delete mode 100644 math.h create mode 100644 math/bits/cmathcalls.h create mode 100644 math/bits/mathcalls.h delete mode 100644 math/cmathcalls.h delete mode 100644 math/mathcalls.h delete mode 100644 mathcalls.h delete mode 100644 mcheck.h delete mode 100644 memory.h create mode 100644 misc/bits/stab.def delete mode 100644 misc/stab.def delete mode 100644 monetary.h delete mode 100644 netdb.h delete mode 100644 netgroup.h delete mode 100644 netinet/ether.h delete mode 100644 netinet/in.h delete mode 100644 nlist.h delete mode 100644 nss.h create mode 100644 nss/function.def delete mode 100644 nsswitch.h delete mode 100644 obstack.h delete mode 100644 poll.h create mode 100644 posix/bits/posix1_lim.h create mode 100644 posix/bits/posix2_lim.h delete mode 100644 posix/posix1_lim.h delete mode 100644 posix/posix2_lim.h delete mode 100644 posix1_lim.h delete mode 100644 posix2_lim.h delete mode 100644 printf.h delete mode 100644 protocols/routed.h delete mode 100644 protocols/rwhod.h delete mode 100644 protocols/talkd.h delete mode 100644 protocols/timed.h delete mode 100644 pwd.h delete mode 100644 regex.h delete mode 100644 resolv.h delete mode 100644 rpc/auth_unix.h delete mode 100644 rpc/clnt.h delete mode 100644 rpc/netdb.h delete mode 100644 rpc/pmap_clnt.h delete mode 100644 rpc/pmap_prot.h delete mode 100644 rpc/pmap_rmt.h delete mode 100644 rpc/rpc.h delete mode 100644 rpc/rpc_msg.h delete mode 100644 rpc/svc.h delete mode 100644 rpc/svc_auth.h delete mode 100644 rpc/types.h delete mode 100644 rpc/xdr.h delete mode 100644 sched.h delete mode 100644 search.h delete mode 100644 set-hooks.h delete mode 100644 setjmp.h delete mode 100644 sgtty.h delete mode 100644 shadow.h delete mode 100644 signal.h delete mode 100644 stdio.h delete mode 100644 stdlib.h delete mode 100644 string.h delete mode 100644 strings.h delete mode 100644 sys/bitypes.h delete mode 100644 sys/cdefs.h delete mode 100644 sys/dir.h delete mode 100644 sys/errno.h delete mode 100644 sys/fcntl.h delete mode 100644 sys/file.h delete mode 100644 sys/gmon.h delete mode 100644 sys/ioctl.h delete mode 100644 sys/ipc.h delete mode 100644 sys/msg.h delete mode 100644 sys/poll.h delete mode 100644 sys/queue.h delete mode 100644 sys/resource.h delete mode 100644 sys/select.h delete mode 100644 sys/sem.h delete mode 100644 sys/shm.h delete mode 100644 sys/signal.h delete mode 100644 sys/socket.h delete mode 100644 sys/stat.h delete mode 100644 sys/statfs.h delete mode 100644 sys/syslog.h delete mode 100644 sys/termios.h delete mode 100644 sys/time.h delete mode 100644 sys/timeb.h delete mode 100644 sys/times.h delete mode 100644 sys/types.h delete mode 100644 sys/uio.h delete mode 100644 sys/un.h delete mode 100644 sys/unistd.h delete mode 100644 sys/utsname.h delete mode 100644 sys/vlimit.h delete mode 100644 sys/vtimes.h delete mode 100644 sys/wait.h delete mode 100644 syscall.h delete mode 100644 sysdeps/alpha/__math.h create mode 100644 sysdeps/alpha/bits/endian.h create mode 100644 sysdeps/alpha/bits/setjmp.h delete mode 100644 sysdeps/alpha/bytesex.h create mode 100644 sysdeps/alpha/fpu/bits/fenv.h create mode 100644 sysdeps/alpha/fpu/bits/mathdef.h create mode 100644 sysdeps/alpha/fpu/bits/mathinline.h delete mode 100644 sysdeps/alpha/fpu/fenvbits.h delete mode 100644 sysdeps/alpha/jmp_buf.h create mode 100644 sysdeps/arm/bits/endian.h create mode 100644 sysdeps/arm/bits/setjmp.h delete mode 100644 sysdeps/arm/bytesex.h delete mode 100644 sysdeps/arm/jmp_buf.h create mode 100644 sysdeps/generic/bits/confname.h create mode 100644 sysdeps/generic/bits/ioctl-types.h create mode 100644 sysdeps/generic/bits/mathdef.h create mode 100644 sysdeps/generic/bits/resource.h create mode 100644 sysdeps/generic/bits/sched.h create mode 100644 sysdeps/generic/bits/select.h create mode 100644 sysdeps/generic/bits/sigaction.h create mode 100644 sysdeps/generic/bits/sigset.h create mode 100644 sysdeps/generic/bits/sockaddr.h create mode 100644 sysdeps/generic/bits/socket.h create mode 100644 sysdeps/generic/bits/statfs.h create mode 100644 sysdeps/generic/bits/termios.h create mode 100644 sysdeps/generic/bits/types.h create mode 100644 sysdeps/generic/bits/uio.h create mode 100644 sysdeps/generic/bits/ustat.h create mode 100644 sysdeps/generic/bits/utmp.h create mode 100644 sysdeps/generic/bits/utsname.h create mode 100644 sysdeps/generic/bits/waitstatus.h delete mode 100644 sysdeps/generic/confname.h delete mode 100644 sysdeps/generic/gnu/types.h delete mode 100644 sysdeps/generic/ioctl-types.h delete mode 100644 sysdeps/generic/iovec.h delete mode 100644 sysdeps/generic/mathbits.h delete mode 100644 sysdeps/generic/resourcebits.h delete mode 100644 sysdeps/generic/schedbits.h delete mode 100644 sysdeps/generic/selectbits.h delete mode 100644 sysdeps/generic/sigaction.h delete mode 100644 sysdeps/generic/sigset.h delete mode 100644 sysdeps/generic/sockaddrcom.h delete mode 100644 sysdeps/generic/socketbits.h delete mode 100644 sysdeps/generic/statfsbuf.h delete mode 100644 sysdeps/generic/termbits.h delete mode 100644 sysdeps/generic/ustatbits.h delete mode 100644 sysdeps/generic/utmpbits.h delete mode 100644 sysdeps/generic/utsnamelen.h delete mode 100644 sysdeps/generic/waitstatus.h create mode 100644 sysdeps/gnu/bits/utmp.h delete mode 100644 sysdeps/gnu/utmpbits.h create mode 100644 sysdeps/i386/bits/endian.h create mode 100644 sysdeps/i386/bits/huge_val.h create mode 100644 sysdeps/i386/bits/select.h create mode 100644 sysdeps/i386/bits/setjmp.h delete mode 100644 sysdeps/i386/bytesex.h delete mode 100644 sysdeps/i386/fpu/__math.h create mode 100644 sysdeps/i386/fpu/bits/fenv.h create mode 100644 sysdeps/i386/fpu/bits/mathdef.h create mode 100644 sysdeps/i386/fpu/bits/mathinline.h delete mode 100644 sysdeps/i386/fpu/fenvbits.h delete mode 100644 sysdeps/i386/fpu/mathbits.h delete mode 100644 sysdeps/i386/huge_val.h delete mode 100644 sysdeps/i386/jmp_buf.h delete mode 100644 sysdeps/i386/selectbits.h create mode 100644 sysdeps/ieee754/bits/huge_val.h create mode 100644 sysdeps/ieee754/bits/nan.h delete mode 100644 sysdeps/ieee754/huge_val.h delete mode 100644 sysdeps/ieee754/nan.h create mode 100644 sysdeps/m68k/bits/endian.h create mode 100644 sysdeps/m68k/bits/huge_val.h create mode 100644 sysdeps/m68k/bits/setjmp.h delete mode 100644 sysdeps/m68k/bytesex.h delete mode 100644 sysdeps/m68k/fpu/__math.h create mode 100644 sysdeps/m68k/fpu/bits/fenv.h create mode 100644 sysdeps/m68k/fpu/bits/mathdef.h create mode 100644 sysdeps/m68k/fpu/bits/mathinline.h delete mode 100644 sysdeps/m68k/fpu/fenvbits.h delete mode 100644 sysdeps/m68k/fpu/mathbits.h delete mode 100644 sysdeps/m68k/fpu/switch/__math.h create mode 100644 sysdeps/m68k/fpu/switch/bits/mathinline.h delete mode 100644 sysdeps/m68k/huge_val.h delete mode 100644 sysdeps/m68k/jmp_buf.h create mode 100644 sysdeps/mach/bits/libc-lock.h create mode 100644 sysdeps/mach/hurd/alpha/bits/sigcontext.h delete mode 100644 sysdeps/mach/hurd/alpha/sigcontext.h create mode 100644 sysdeps/mach/hurd/bits/errno.h create mode 100644 sysdeps/mach/hurd/bits/fcntl.h create mode 100644 sysdeps/mach/hurd/bits/ioctls.h create mode 100644 sysdeps/mach/hurd/bits/local_lim.h create mode 100644 sysdeps/mach/hurd/bits/posix_opt.h create mode 100644 sysdeps/mach/hurd/bits/stat.h delete mode 100644 sysdeps/mach/hurd/errnos.h delete mode 100644 sysdeps/mach/hurd/fcntlbits.h create mode 100644 sysdeps/mach/hurd/hppa/bits/sigcontext.h delete mode 100644 sysdeps/mach/hurd/hppa/sigcontext.h create mode 100644 sysdeps/mach/hurd/i386/bits/sigcontext.h delete mode 100644 sysdeps/mach/hurd/i386/sigcontext.h delete mode 100644 sysdeps/mach/hurd/ioctls.h delete mode 100644 sysdeps/mach/hurd/local_lim.h create mode 100644 sysdeps/mach/hurd/mips/bits/sigcontext.h create mode 100644 sysdeps/mach/hurd/mips/dl-machine.c create mode 100644 sysdeps/mach/hurd/mips/init-fault.c create mode 100644 sysdeps/mach/hurd/mips/init-first.c create mode 100644 sysdeps/mach/hurd/mips/intr-msg.h create mode 100644 sysdeps/mach/hurd/mips/longjmp-ctx.c delete mode 100644 sysdeps/mach/hurd/mips/sigcontext.h delete mode 100644 sysdeps/mach/hurd/posix_opt.h delete mode 100644 sysdeps/mach/hurd/statbuf.h delete mode 100644 sysdeps/mach/libc-lock.h create mode 100644 sysdeps/mips/add_n.S delete mode 100644 sysdeps/mips/add_n.s create mode 100644 sysdeps/mips/addmul_1.S delete mode 100644 sysdeps/mips/addmul_1.s create mode 100644 sysdeps/mips/bits/endian.h create mode 100644 sysdeps/mips/bits/setjmp.h delete mode 100644 sysdeps/mips/bytesex.h create mode 100644 sysdeps/mips/dec/bits/endian.h delete mode 100644 sysdeps/mips/dec/bytesex.h create mode 100644 sysdeps/mips/elf/start.S create mode 100644 sysdeps/mips/fpu_control.h create mode 100644 sysdeps/mips/init-first.c delete mode 100644 sysdeps/mips/jmp_buf.h create mode 100644 sysdeps/mips/lshift.S delete mode 100644 sysdeps/mips/lshift.s create mode 100644 sysdeps/mips/machine-gmon.h create mode 100644 sysdeps/mips/mips64/Implies create mode 100644 sysdeps/mips/mips64/__longjmp.c create mode 100644 sysdeps/mips/mips64/add_n.S create mode 100644 sysdeps/mips/mips64/addmul_1.S create mode 100644 sysdeps/mips/mips64/bits/setjmp.h create mode 100644 sysdeps/mips/mips64/bsd-_setjmp.S create mode 100644 sysdeps/mips/mips64/bsd-setjmp.S create mode 100644 sysdeps/mips/mips64/lshift.S create mode 100644 sysdeps/mips/mips64/mul_1.S create mode 100644 sysdeps/mips/mips64/rshift.S create mode 100644 sysdeps/mips/mips64/setjmp.S create mode 100644 sysdeps/mips/mips64/setjmp_aux.c create mode 100644 sysdeps/mips/mips64/sub_n.S create mode 100644 sysdeps/mips/mips64/submul_1.S create mode 100644 sysdeps/mips/mipsel/bits/endian.h delete mode 100644 sysdeps/mips/mipsel/bytesex.h create mode 100644 sysdeps/mips/mul_1.S delete mode 100644 sysdeps/mips/mul_1.s create mode 100644 sysdeps/mips/p40/bits/endian.h delete mode 100644 sysdeps/mips/p40/bytesex.h create mode 100644 sysdeps/mips/rshift.S delete mode 100644 sysdeps/mips/rshift.s create mode 100644 sysdeps/mips/sub_n.S delete mode 100644 sysdeps/mips/sub_n.s create mode 100644 sysdeps/mips/submul_1.S delete mode 100644 sysdeps/mips/submul_1.s delete mode 100644 sysdeps/powerpc/__math.h create mode 100644 sysdeps/powerpc/bits/fenv.h create mode 100644 sysdeps/powerpc/bits/mathdef.h create mode 100644 sysdeps/powerpc/bits/mathinline.h create mode 100644 sysdeps/powerpc/bits/setjmp.h delete mode 100644 sysdeps/powerpc/fenvbits.h delete mode 100644 sysdeps/powerpc/jmp_buf.h delete mode 100644 sysdeps/powerpc/mathbits.h create mode 100644 sysdeps/sparc/bits/endian.h create mode 100644 sysdeps/sparc/bits/setjmp.h delete mode 100644 sysdeps/sparc/bytesex.h delete mode 100644 sysdeps/sparc/jmp_buf.h create mode 100644 sysdeps/standalone/arm/bits/errno.h delete mode 100644 sysdeps/standalone/arm/errnos.h create mode 100644 sysdeps/standalone/bits/stdio_lim.h delete mode 100644 sysdeps/standalone/stdio_lim.h delete mode 100644 sysdeps/stub/__math.h create mode 100644 sysdeps/stub/bits/dirent.h create mode 100644 sysdeps/stub/bits/elfclass.h create mode 100644 sysdeps/stub/bits/endian.h create mode 100644 sysdeps/stub/bits/errno.h create mode 100644 sysdeps/stub/bits/fcntl.h create mode 100644 sysdeps/stub/bits/fenv.h create mode 100644 sysdeps/stub/bits/huge_val.h create mode 100644 sysdeps/stub/bits/ioctls.h create mode 100644 sysdeps/stub/bits/ipc.h create mode 100644 sysdeps/stub/bits/libc-lock.h create mode 100644 sysdeps/stub/bits/local_lim.h create mode 100644 sysdeps/stub/bits/mathinline.h create mode 100644 sysdeps/stub/bits/msq.h create mode 100644 sysdeps/stub/bits/nan.h create mode 100644 sysdeps/stub/bits/posix_opt.h create mode 100644 sysdeps/stub/bits/sem.h create mode 100644 sysdeps/stub/bits/setjmp.h create mode 100644 sysdeps/stub/bits/shm.h create mode 100644 sysdeps/stub/bits/sigcontext.h create mode 100644 sysdeps/stub/bits/signum.h create mode 100644 sysdeps/stub/bits/stat.h create mode 100644 sysdeps/stub/bits/stdio_lim.h create mode 100644 sysdeps/stub/bits/time.h create mode 100644 sysdeps/stub/bits/waitflags.h delete mode 100644 sysdeps/stub/bytesex.h delete mode 100644 sysdeps/stub/direntry.h delete mode 100644 sysdeps/stub/elfclass.h delete mode 100644 sysdeps/stub/errnos.h delete mode 100644 sysdeps/stub/fcntlbits.h delete mode 100644 sysdeps/stub/fenvbits.h delete mode 100644 sysdeps/stub/huge_val.h delete mode 100644 sysdeps/stub/ioctls.h delete mode 100644 sysdeps/stub/jmp_buf.h delete mode 100644 sysdeps/stub/libc-lock.h delete mode 100644 sysdeps/stub/local_lim.h delete mode 100644 sysdeps/stub/nan.h delete mode 100644 sysdeps/stub/posix_opt.h delete mode 100644 sysdeps/stub/sigcontext.h delete mode 100644 sysdeps/stub/signum.h delete mode 100644 sysdeps/stub/statbuf.h delete mode 100644 sysdeps/stub/stdio_lim.h delete mode 100644 sysdeps/stub/sys/ipc_buf.h delete mode 100644 sysdeps/stub/sys/msq_buf.h delete mode 100644 sysdeps/stub/sys/sem_buf.h delete mode 100644 sysdeps/stub/sys/shm_buf.h delete mode 100644 sysdeps/stub/timebits.h delete mode 100644 sysdeps/stub/waitflags.h create mode 100644 sysdeps/unix/bsd/bits/dirent.h create mode 100644 sysdeps/unix/bsd/bits/fcntl.h create mode 100644 sysdeps/unix/bsd/bits/posix_opt.h create mode 100644 sysdeps/unix/bsd/bits/signum.h create mode 100644 sysdeps/unix/bsd/bits/stat.h create mode 100644 sysdeps/unix/bsd/bits/waitflags.h create mode 100644 sysdeps/unix/bsd/bsd4.4/bits/dirent.h create mode 100644 sysdeps/unix/bsd/bsd4.4/bits/errno.h create mode 100644 sysdeps/unix/bsd/bsd4.4/bits/fcntl.h create mode 100644 sysdeps/unix/bsd/bsd4.4/bits/ioctls.h create mode 100644 sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h delete mode 100644 sysdeps/unix/bsd/bsd4.4/direntry.h delete mode 100644 sysdeps/unix/bsd/bsd4.4/errnos.h delete mode 100644 sysdeps/unix/bsd/bsd4.4/fcntlbits.h delete mode 100644 sysdeps/unix/bsd/bsd4.4/ioctls.h delete mode 100644 sysdeps/unix/bsd/bsd4.4/sockaddrcom.h delete mode 100644 sysdeps/unix/bsd/direntry.h delete mode 100644 sysdeps/unix/bsd/fcntlbits.h create mode 100644 sysdeps/unix/bsd/osf/alpha/bits/stat.h delete mode 100644 sysdeps/unix/bsd/osf/alpha/statbuf.h create mode 100644 sysdeps/unix/bsd/osf/bits/sigaction.h delete mode 100644 sysdeps/unix/bsd/osf/sigaction.h delete mode 100644 sysdeps/unix/bsd/posix_opt.h delete mode 100644 sysdeps/unix/bsd/signum.h delete mode 100644 sysdeps/unix/bsd/statbuf.h create mode 100644 sysdeps/unix/bsd/sun/bits/signum.h create mode 100644 sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h delete mode 100644 sysdeps/unix/bsd/sun/m68k/sigcontext.h delete mode 100644 sysdeps/unix/bsd/sun/signum.h create mode 100644 sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h delete mode 100644 sysdeps/unix/bsd/sun/sparc/sigcontext.h create mode 100644 sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h create mode 100644 sysdeps/unix/bsd/sun/sunos4/bits/resource.h create mode 100644 sysdeps/unix/bsd/sun/sunos4/bits/termios.h create mode 100644 sysdeps/unix/bsd/sun/sunos4/bits/utsname.h delete mode 100644 sysdeps/unix/bsd/sun/sunos4/fcntlbits.h delete mode 100644 sysdeps/unix/bsd/sun/sunos4/resourcebits.h delete mode 100644 sysdeps/unix/bsd/sun/sunos4/termbits.h delete mode 100644 sysdeps/unix/bsd/sun/sunos4/utsnamelen.h create mode 100644 sysdeps/unix/bsd/ultrix4/bits/fcntl.h create mode 100644 sysdeps/unix/bsd/ultrix4/bits/posix_opt.h create mode 100644 sysdeps/unix/bsd/ultrix4/bits/utsname.h delete mode 100644 sysdeps/unix/bsd/ultrix4/fcntlbits.h create mode 100644 sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h delete mode 100644 sysdeps/unix/bsd/ultrix4/mips/sigcontext.h delete mode 100644 sysdeps/unix/bsd/ultrix4/posix_opt.h delete mode 100644 sysdeps/unix/bsd/ultrix4/utsnamelen.h delete mode 100644 sysdeps/unix/bsd/waitflags.h create mode 100644 sysdeps/unix/common/bits/dirent.h create mode 100644 sysdeps/unix/common/bits/fcntl.h delete mode 100644 sysdeps/unix/common/direntry.h delete mode 100644 sysdeps/unix/common/fcntlbits.h create mode 100644 sysdeps/unix/sysv/bits/dirent.h create mode 100644 sysdeps/unix/sysv/bits/fcntl.h create mode 100644 sysdeps/unix/sysv/bits/local_lim.h create mode 100644 sysdeps/unix/sysv/bits/signum.h create mode 100644 sysdeps/unix/sysv/bits/stat.h create mode 100644 sysdeps/unix/sysv/bits/utmp.h create mode 100644 sysdeps/unix/sysv/bits/utsname.h delete mode 100644 sysdeps/unix/sysv/direntry.h delete mode 100644 sysdeps/unix/sysv/fcntlbits.h create mode 100644 sysdeps/unix/sysv/irix4/bits/confname.h create mode 100644 sysdeps/unix/sysv/irix4/bits/fcntl.h create mode 100644 sysdeps/unix/sysv/irix4/bits/signum.h create mode 100644 sysdeps/unix/sysv/irix4/bits/stat.h delete mode 100644 sysdeps/unix/sysv/irix4/confname.h delete mode 100644 sysdeps/unix/sysv/irix4/fcntlbits.h delete mode 100644 sysdeps/unix/sysv/irix4/signum.h delete mode 100644 sysdeps/unix/sysv/irix4/statbuf.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/fcntl.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/ioctls.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/ipc.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/sigaction.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/signum.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/stat.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/termios.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/time.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/types.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/fcntlbits.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/gnu/types.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/ioctls.h create mode 100644 sysdeps/unix/sysv/linux/alpha/kernel_termios.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/sigaction.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/signum.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/statbuf.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/termbits.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/timebits.h create mode 100644 sysdeps/unix/sysv/linux/bits/dirent.h create mode 100644 sysdeps/unix/sysv/linux/bits/errno.h create mode 100644 sysdeps/unix/sysv/linux/bits/fcntl.h create mode 100644 sysdeps/unix/sysv/linux/bits/ioctl-types.h create mode 100644 sysdeps/unix/sysv/linux/bits/ioctls.h create mode 100644 sysdeps/unix/sysv/linux/bits/ipc.h create mode 100644 sysdeps/unix/sysv/linux/bits/local_lim.h create mode 100644 sysdeps/unix/sysv/linux/bits/msq.h create mode 100644 sysdeps/unix/sysv/linux/bits/posix_opt.h create mode 100644 sysdeps/unix/sysv/linux/bits/resource.h create mode 100644 sysdeps/unix/sysv/linux/bits/sched.h create mode 100644 sysdeps/unix/sysv/linux/bits/sem.h create mode 100644 sysdeps/unix/sysv/linux/bits/shm.h create mode 100644 sysdeps/unix/sysv/linux/bits/sigaction.h create mode 100644 sysdeps/unix/sysv/linux/bits/sigcontext.h create mode 100644 sysdeps/unix/sysv/linux/bits/signum.h create mode 100644 sysdeps/unix/sysv/linux/bits/sigset.h create mode 100644 sysdeps/unix/sysv/linux/bits/socket.h create mode 100644 sysdeps/unix/sysv/linux/bits/stat.h create mode 100644 sysdeps/unix/sysv/linux/bits/statfs.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios.h create mode 100644 sysdeps/unix/sysv/linux/bits/time.h create mode 100644 sysdeps/unix/sysv/linux/bits/types.h create mode 100644 sysdeps/unix/sysv/linux/bits/uio.h create mode 100644 sysdeps/unix/sysv/linux/bits/ustat.h create mode 100644 sysdeps/unix/sysv/linux/bits/utsname.h create mode 100644 sysdeps/unix/sysv/linux/bits/waitflags.h delete mode 100644 sysdeps/unix/sysv/linux/direntry.h delete mode 100644 sysdeps/unix/sysv/linux/errnos.h delete mode 100644 sysdeps/unix/sysv/linux/fcntlbits.h delete mode 100644 sysdeps/unix/sysv/linux/gnu/types.h delete mode 100644 sysdeps/unix/sysv/linux/ioctl-types.h delete mode 100644 sysdeps/unix/sysv/linux/ioctls.h delete mode 100644 sysdeps/unix/sysv/linux/iovec.h create mode 100644 sysdeps/unix/sysv/linux/kernel_termios.h delete mode 100644 sysdeps/unix/sysv/linux/local_lim.h delete mode 100644 sysdeps/unix/sysv/linux/posix_opt.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/termios.h delete mode 100644 sysdeps/unix/sysv/linux/powerpc/ioctl-types.h delete mode 100644 sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h delete mode 100644 sysdeps/unix/sysv/linux/powerpc/termbits.h delete mode 100644 sysdeps/unix/sysv/linux/resourcebits.h delete mode 100644 sysdeps/unix/sysv/linux/schedbits.h delete mode 100644 sysdeps/unix/sysv/linux/sigaction.h delete mode 100644 sysdeps/unix/sysv/linux/sigcontext.h delete mode 100644 sysdeps/unix/sysv/linux/signum.h delete mode 100644 sysdeps/unix/sysv/linux/sigset.h delete mode 100644 sysdeps/unix/sysv/linux/socketbits.h create mode 100644 sysdeps/unix/sysv/linux/socketcall.h create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/fcntl.h create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/ioctls.h create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/sigaction.h create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/signum.h create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/termios.h delete mode 100644 sysdeps/unix/sysv/linux/sparc/fcntlbits.h delete mode 100644 sysdeps/unix/sysv/linux/sparc/ioctls.h delete mode 100644 sysdeps/unix/sysv/linux/sparc/sigaction.h delete mode 100644 sysdeps/unix/sysv/linux/sparc/signum.h delete mode 100644 sysdeps/unix/sysv/linux/sparc/termbits.h delete mode 100644 sysdeps/unix/sysv/linux/statbuf.h delete mode 100644 sysdeps/unix/sysv/linux/statfsbuf.h delete mode 100644 sysdeps/unix/sysv/linux/sys/ipc_buf.h delete mode 100644 sysdeps/unix/sysv/linux/sys/kernel_termios.h delete mode 100644 sysdeps/unix/sysv/linux/sys/msq_buf.h delete mode 100644 sysdeps/unix/sysv/linux/sys/sem_buf.h delete mode 100644 sysdeps/unix/sysv/linux/sys/shm_buf.h delete mode 100644 sysdeps/unix/sysv/linux/sys/socketcall.h delete mode 100644 sysdeps/unix/sysv/linux/termbits.h delete mode 100644 sysdeps/unix/sysv/linux/timebits.h delete mode 100644 sysdeps/unix/sysv/linux/ustatbits.h delete mode 100644 sysdeps/unix/sysv/linux/utsnamelen.h delete mode 100644 sysdeps/unix/sysv/linux/waitflags.h delete mode 100644 sysdeps/unix/sysv/local_lim.h create mode 100644 sysdeps/unix/sysv/minix/bits/sigaction.h delete mode 100644 sysdeps/unix/sysv/minix/sigaction.h create mode 100644 sysdeps/unix/sysv/sco3.2.4/bits/confname.h create mode 100644 sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h delete mode 100644 sysdeps/unix/sysv/sco3.2.4/confname.h delete mode 100644 sysdeps/unix/sysv/sco3.2.4/sigaction.h create mode 100644 sysdeps/unix/sysv/sco3.2/bits/local_lim.h delete mode 100644 sysdeps/unix/sysv/sco3.2/local_lim.h delete mode 100644 sysdeps/unix/sysv/signum.h delete mode 100644 sysdeps/unix/sysv/statbuf.h create mode 100644 sysdeps/unix/sysv/sysv4/bits/sigaction.h create mode 100644 sysdeps/unix/sysv/sysv4/bits/signum.h create mode 100644 sysdeps/unix/sysv/sysv4/bits/sigset.h create mode 100644 sysdeps/unix/sysv/sysv4/bits/utsname.h create mode 100644 sysdeps/unix/sysv/sysv4/bits/waitflags.h create mode 100644 sysdeps/unix/sysv/sysv4/i386/bits/stat.h delete mode 100644 sysdeps/unix/sysv/sysv4/i386/statbuf.h delete mode 100644 sysdeps/unix/sysv/sysv4/sigaction.h delete mode 100644 sysdeps/unix/sysv/sysv4/signum.h delete mode 100644 sysdeps/unix/sysv/sysv4/sigset.h create mode 100644 sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h create mode 100644 sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h delete mode 100644 sysdeps/unix/sysv/sysv4/solaris2/signum.h create mode 100644 sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h delete mode 100644 sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h delete mode 100644 sysdeps/unix/sysv/sysv4/solaris2/statbuf.h delete mode 100644 sysdeps/unix/sysv/sysv4/utsnamelen.h delete mode 100644 sysdeps/unix/sysv/sysv4/waitflags.h delete mode 100644 sysdeps/unix/sysv/utmpbits.h delete mode 100644 sysdeps/unix/sysv/utsnamelen.h create mode 100644 sysdeps/vax/bits/huge_val.h create mode 100644 sysdeps/vax/bits/setjmp.h delete mode 100644 sysdeps/vax/huge_val.h delete mode 100644 sysdeps/vax/jmp_buf.h create mode 100644 sysdeps/wordsize-32/bits/elfclass.h delete mode 100644 sysdeps/wordsize-32/elfclass.h create mode 100644 sysdeps/wordsize-64/bits/elfclass.h delete mode 100644 sysdeps/wordsize-64/elfclass.h delete mode 100644 sysexits.h delete mode 100644 syslog.h delete mode 100644 tar.h delete mode 100644 termios.h delete mode 100644 time.h delete mode 100644 ttyent.h delete mode 100644 unistd.h delete mode 100644 utime.h delete mode 100644 utmp.h delete mode 100644 values.h delete mode 100644 wchar.h delete mode 100644 wctype.h delete mode 100644 wordexp.h delete mode 100644 xlocale.h delete mode 100644 xopen_lim.h diff --git a/ChangeLog b/ChangeLog index cb09bdf38b..1c133418a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,808 @@ +1997-06-21 02:48 Ulrich Drepper + + * 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 + + 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 + and . + * 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: -> . + * 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 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 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 + + * 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 + + * libc.map: Add yet more symbols. + +1997-06-19 20:33 Andreas Schwab + + * 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 + + * 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 + + * math/libm-test.c (gamma_test): Test for _SVID_ and for normal + behaviour. + +1997-06-15 20:32 Andreas Jaeger + + * math/libm.map: Add all necessary functions, correct existing entries. + +1997-06-20 02:35 a sun + + * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header. + +1997-06-19 18:43 Andreas Jaeger + + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): + Compare pointer with NULL. + + * login/logout.c (logout): Compare pututline result with NULL. + 1997-06-19 19:38 Ulrich Drepper * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__. * elf/dl-minimal.c (__dcgettext): Remove assertion. - * inet/rcmd.c: Correct a few typos. Reported by Eric Troan. + * inet/rcmd.c: Correct a few typos. Reported by Erik Troan. * manual/Makefile (distribute): Add dir. * manual/dir: New file. diff --git a/Makeconfig b/Makeconfig index fbff6b3d3e..29d06caa33 100644 --- a/Makeconfig +++ b/Makeconfig @@ -491,14 +491,14 @@ endif # $(+cflags) == "" # and in the parent library source directory. # `+sysdep-includes' will be defined by Makerules. +includes = -I. $(filter-out -I,-I$(patsubst %/,%,$(..))) $($(stdio)-include) \ - $(includes) $(+sysdep-includes) $(last-includes) + $(includes) $(+sysdep-includes) $(last-includes) # Since libio has several internal header files, we use a -I instead # of many little headers in the top level source directory. libio-include = -I$(..)libio # These are the variables that the implicit compilation rules use. -CPPFLAGS = $(+includes) $(defines) -include $(..)libc-symbols.h \ +CPPFLAGS = $(+includes) $(defines) -include $(..)include/libc-symbols.h \ $(sysdep-CPPFLAGS) $(CPPFLAGS-$(suffix $@)) $(CPPFLAGS-$( diff --git a/alloca.h b/alloca.h deleted file mode 100644 index 34eeeab78e..0000000000 --- a/alloca.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/ansidecl.h b/ansidecl.h deleted file mode 100644 index c351653b62..0000000000 --- a/ansidecl.h +++ /dev/null @@ -1,108 +0,0 @@ -/* Copyright (C) 1991 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 General Public License as published by -the Free Software Foundation; either version 1, 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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with the GNU C Library; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* ANSI and traditional C compatibility macros - - ANSI C is assumed if __STDC__ is #defined. - - Macro ANSI C definition Traditional C definition - ----- ---- - ---------- ----------- - ---------- - PTR `void *' `char *' - LONG_DOUBLE `long double' `double' - CONST `const' `' - VOLATILE `volatile' `' - SIGNED `signed' `' - PTRCONST `void *const' `char *' - - DEFUN(name, arglist, args) - - Defines function NAME. - - ARGLIST lists the arguments, separated by commas and enclosed in - parentheses. ARGLIST becomes the argument list in traditional C. - - ARGS list the arguments with their types. It becomes a prototype in - ANSI C, and the type declarations in traditional C. Arguments should - be separated with `AND'. For functions with a variable number of - arguments, the last thing listed should be `DOTS'. - - DEFUN_VOID(name) - - Defines a function NAME, which takes no arguments. - - EXFUN(name, prototype) - - Is used in an external function declaration. - In ANSI C it is `NAMEPROTOTYPE' (so PROTOTYPE should be enclosed in - parentheses). In traditional C it is `NAME()'. - For a function that takes no arguments, PROTOTYPE should be `(NOARGS)'. - - For example: - extern int EXFUN(printf, (CONST char *format DOTS)); - int DEFUN(fprintf, (stream, format), - FILE *stream AND CONST char *format DOTS) { ... } - void DEFUN_VOID(abort) { ... } -*/ - -#ifndef _ANSIDECL_H - -#define _ANSIDECL_H 1 - - -/* Every source file includes this file, - so they will all get the switch for lint. */ -/* LINTLIBRARY */ - - -#ifdef __STDC__ - -#define PTR void * -#define PTRCONST void *CONST -#define LONG_DOUBLE long double - -#define AND , -#define NOARGS void -#define CONST const -#define VOLATILE volatile -#define SIGNED signed -#define DOTS , ... - -#define EXFUN(name, proto) name proto -#define DEFUN(name, arglist, args) name(args) -#define DEFUN_VOID(name) name(NOARGS) - -#else /* Not ANSI C. */ - -#define PTR char * -#define PTRCONST PTR -#define LONG_DOUBLE double - -#define AND ; -#define NOARGS -#define CONST -#define VOLATILE -#define SIGNED -#define DOTS - -#define EXFUN(name, proto) name() -#define DEFUN(name, arglist, args) name arglist args; -#define DEFUN_VOID(name) name() - -#endif /* ANSI C. */ - - -#endif /* ansidecl.h */ diff --git a/argp.h b/argp.h deleted file mode 100644 index 92be5f90f1..0000000000 --- a/argp.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/argp/argp-fmtstream.h b/argp/argp-fmtstream.h index d1a262a786..ebc68380c0 100644 --- a/argp/argp-fmtstream.h +++ b/argp/argp-fmtstream.h @@ -23,8 +23,8 @@ that. This header file is only used internally while compiling argp, and shouldn't be installed. */ -#ifndef __ARGP_FMTSTREAM_H__ -#define __ARGP_FMTSTREAM_H__ +#ifndef _ARGP_FMTSTREAM_H +#define _ARGP_FMTSTREAM_H #ifdef HAVE_CONFIG_H #include @@ -294,4 +294,4 @@ __argp_fmtstream_point (argp_fmtstream_t __fs) #endif /* ARGP_FMTSTREAM_USE_LINEWRAP */ -#endif /* __ARGP_FMTSTREAM_H__ */ +#endif /* argp-fmtstream.h */ diff --git a/argp/argp-parse.c b/argp/argp-parse.c index 018a97807e..553dd88552 100644 --- a/argp/argp-parse.c +++ b/argp/argp-parse.c @@ -42,7 +42,7 @@ #endif #if _LIBC - 0 -#include +#include #else #ifdef HAVE_CTHREADS_H #include diff --git a/argp/argp.h b/argp/argp.h index 2305590a5d..600264e6b7 100644 --- a/argp/argp.h +++ b/argp/argp.h @@ -18,8 +18,8 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef __ARGP_H__ -#define __ARGP_H__ +#ifndef _ARGP_H +#define _ARGP_H #include #include @@ -551,7 +551,7 @@ __option_is_end (__const struct argp_option *__opt) # undef __option_is_short # undef __option_is_end #endif - +#endif /* argp.h */ #endif /* __OPTIMIZE__ */ #ifdef __cplusplus diff --git a/argz.h b/argz.h deleted file mode 100644 index 179e693106..0000000000 --- a/argz.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arpa/ftp.h b/arpa/ftp.h deleted file mode 100644 index c716d68156..0000000000 --- a/arpa/ftp.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arpa/inet.h b/arpa/inet.h deleted file mode 100644 index 65733b618c..0000000000 --- a/arpa/inet.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arpa/nameser.h b/arpa/nameser.h deleted file mode 100644 index 944fe732a6..0000000000 --- a/arpa/nameser.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arpa/telnet.h b/arpa/telnet.h deleted file mode 100644 index 742c04cfe3..0000000000 --- a/arpa/telnet.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arpa/tftp.h b/arpa/tftp.h deleted file mode 100644 index 21d5197f24..0000000000 --- a/arpa/tftp.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/assert.h b/assert.h deleted file mode 100644 index e2fa7020c1..0000000000 --- a/assert.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/bits/confname.h b/bits/confname.h new file mode 100644 index 0000000000..5b5cf742b6 --- /dev/null +++ b/bits/confname.h @@ -0,0 +1,325 @@ +/* `sysconf', `pathconf', and `confstr' NAME values. Generic version. + Copyright (C) 1993, 1995, 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. */ + +/* Values for the NAME argument to `pathconf' and `fpathconf'. */ +enum + { + _PC_LINK_MAX, +#define _PC_LINK_MAX _PC_LINK_MAX + _PC_MAX_CANON, +#define _PC_MAX_CANON _PC_MAX_CANON + _PC_MAX_INPUT, +#define _PC_MAX_INPUT _PC_MAX_INPUT + _PC_NAME_MAX, +#define _PC_NAME_MAX _PC_NAME_MAX + _PC_PATH_MAX, +#define _PC_PATH_MAX _PC_PATH_MAX + _PC_PIPE_BUF, +#define _PC_PIPE_BUF _PC_PIPE_BUF + _PC_CHOWN_RESTRICTED, +#define _PC_CHOWN_RESTRICTED _PC_CHOWN_RESTRICTED + _PC_NO_TRUNC, +#define _PC_NO_TRUNC _PC_NO_TRUNC + _PC_VDISABLE, + _PC_SYNC_IO, +#define _PC_SYNC_IO _PC_SYNC_IO + _PC_ASYNC_IO, +#define _PC_ASYNC_IO _PC_ASYNC_IO + _PC_PRIO_IO, +#define _PC_PRIO_IO _PC_PRIO_IO + _PC_SOCK_MAXBUF +#define _PC_SOCK_MAXBUF _PC_SOCK_MAXBUF + }; + +/* Values for the argument to `sysconf'. */ +enum + { + _SC_ARG_MAX, +#define _SC_ARG_MAX _SC_ARG_MAX + _SC_CHILD_MAX, +#define _SC_CHILD_MAX _SC_CHILD_MAX + _SC_CLK_TCK, +#define _SC_CLK_TCK _SC_CLK_TCK + _SC_NGROUPS_MAX, +#define _SC_NGROUPS_MAX _SC_NGROUPS_MAX + _SC_OPEN_MAX, +#define _SC_OPEN_MAX _SC_OPEN_MAX + _SC_STREAM_MAX, +#define _SC_STREAM_MAX _SC_STREAM_MAX + _SC_TZNAME_MAX, +#define _SC_TZNAME_MAX _SC_TZNAME_MAX + _SC_JOB_CONTROL, +#define _SC_JOB_CONTROL _SC_JOB_CONTROL + _SC_SAVED_IDS, +#define _SC_SAVED_IDS _SC_SAVED_IDS + _SC_REALTIME_SIGNALS, +#define _SC_REALTIME_SIGNALS _SC_REALTIME_SIGNALS + _SC_PRIORITY_SCHEDULING, +#define _SC_PRIORITY_SCHEDULING _SC_PRIORITY_SCHEDULING + _SC_TIMERS, +#define _SC_TIMERS _SC_TIMERS + _SC_ASYNCHRONOUS_IO, +#define _SC_ASYNCHRONOUS_IO _SC_ASYNCHRONOUS_IO + _SC_PRIORITIZED_IO, +#define _SC_PRIORITIZED_IO _SC_PRIORITIZED_IO + _SC_SYNCHRONIZED_IO, +#define _SC_SYNCHRONIZED_IO _SC_SYNCHRONIZED_IO + _SC_FSYNC, +#define _SC_FSYNC _SC_FSYNC + _SC_MAPPED_FILES, +#define _SC_MAPPED_FILES _SC_MAPPED_FILES + _SC_MEMLOCK, +#define _SC_MEMLOCK _SC_MEMLOCK + _SC_MEMLOCK_RANGE, +#define _SC_MEMLOCK_RANGE _SC_MEMLOCK_RANGE + _SC_MEMORY_PROTECTION, +#define _SC_MEMORY_PROTECTION _SC_MEMORY_PROTECTION + _SC_MESSAGE_PASSING, +#define _SC_MESSAGE_PASSING _SC_MESSAGE_PASSING + _SC_SEMAPHORES, +#define _SC_SEMAPHORES _SC_SEMAPHORES + _SC_SHARED_MEMORY_OBJECTS, +#define _SC_SHARED_MEMORY_OBJECTS _SC_SHARED_MEMORY_OBJECTS + _SC_AIO_LISTIO_MAX, +#define _SC_AIO_LIST_MAX _SC_AIO_LIST_MAX + _SC_AIO_MAX, +#define _SC_AIO_MAX _SC_AIO_MAX + _SC_AIO_PRIO_DELTA_MAX, +#define _SC_AIO_PRIO_DELTA_MAX _SC_AIO_PRIO_DELTA_MAX + _SC_DELAYTIMER_MAX, +#define _SC_DELAYTIMER_MAX _SC_DELAYTIMER_MAX + _SC_MQ_OPEN_MAX, +#define _SC_MQ_OPEN_MAX _SC_MQ_OPEN_MAX + _SC_MQ_PRIO_MAX, +#define _SC_MQ_PRIO_MAX _SC_MQ_PRIO_MAX + _SC_VERSION, +#define _SC_VERSION _SC_VERSION + _SC_PAGESIZE, +#define _SC_PAGESIZE _SC_PAGESIZE +#define _SC_PAGE_SIZE _SC_PAGESIZE + _SC_RTSIG_MAX, +#define _SC_RTSIG_MAX _SC_RTSIG_MAX + _SC_SEM_NSEMS_MAX, +#define _SC_SEM_NSEMS_MAX _SC_SEM_NSEMS_MAX + _SC_SEM_VALUE_MAX, +#define _SC_SEM_VALUE_MAX _SC_SEM_VALUE_MAX + _SC_SIGQUEUE_MAX, +#define _SC_SIGQUEUE_MAX _SC_SIGQUEUE_MAX + _SC_TIMER_MAX, +#define _SC_TIMER_MAX _SC_TIMER_MAX + + /* Values for the argument to `sysconf' + corresponding to _POSIX2_* symbols. */ + _SC_BC_BASE_MAX, +#define _SC_BC_BASE_MAX _SC_BC_BASE_MAX + _SC_BC_DIM_MAX, +#define _SC_BC_DIM_MAX _SC_BC_DIM_MAX + _SC_BC_SCALE_MAX, +#define _SC_BC_SCALE_MAX _SC_BC_SCALE_MAX + _SC_BC_STRING_MAX, +#define _SC_BC_STRING_MAX _SC_BC_STRING_MAX + _SC_COLL_WEIGHTS_MAX, +#define _SC_COLL_WEIGHTS_MAX _SC_COLL_WEIGHTS_MAX + _SC_EQUIV_CLASS_MAX, +#define _SC_EQUIV_CLASS_MAX _SC_EQUIV_CLASS_MAX + _SC_EXPR_NEST_MAX, +#define _SC_EXPR_NEST_MAX _SC_EXPR_NEST_MAX + _SC_LINE_MAX, +#define _SC_LINE_MAX _SC_LINE_MAX + _SC_RE_DUP_MAX, +#define _SC_RE_DUP_MAX _SC_RE_DUP_MAX + _SC_CHARCLASS_NAME_MAX, +#define _SC_CHARCLASS_NAME_MAX _SC_CHARCLASS_NAME_MAX + + _SC_2_VERSION, +#define _SC_2_VERSION _SC_2_VERSION + _SC_2_C_BIND, +#define _SC_2_C_BIND _SC_2_C_BIND + _SC_2_C_DEV, +#define _SC_2_C_DEV _SC_2_C_DEV + _SC_2_FORT_DEV, +#define _SC_2_FORT_DEV _SC_2_FORT_DEV + _SC_2_FORT_RUN, +#define _SC_2_FORT_RUN _SC_2_FORT_RUN + _SC_2_SW_DEV, +#define _SC_2_SW_DEV _SC_2_SW_DEV + _SC_2_LOCALEDEF, +#define _SC_2_LOCALEDEF _SC_2_LOCALEDEF + + _SC_PII, +#define _SC_PII _SC_PII + _SC_PII_XTI, +#define _SC_PII_XTI _SC_PII_XTI + _SC_PII_SOCKET, +#define _SC_PII_SOCKET _SC_PII_SOCKET + _SC_PII_INTERNET, +#define _SC_PII_INTERNET _SC_PII_INTERNET + _SC_PII_OSI, +#define _SC_PII_OSI _SC_PII_OSI + _SC_POLL, +#define _SC_POLL _SC_POLL + _SC_SELECT, +#define _SC_SELECT _SC_SELECT + _SC_UIO_MAXIOV, +#define _SC_UIO_MAXIOV _SC_UIO_MAXIOV + _SC_PII_INTERNET_STREAM, +#define _SC_PII_INTERNET_STREAM _SC_PII_INTERNET_STREAM + _SC_PII_INTERNET_DGRAM, +#define _SC_PII_INTERNET_DGRAM _SC_PII_INTERNET_DGRAM + _SC_PII_OSI_COTS, +#define _SC_PII_OSI_COTS _SC_PII_OSI_COTS + _SC_PII_OSI_CLTS, +#define _SC_PII_OSI_CLTS _SC_PII_OSI_CLTS + _SC_PII_OSI_M, +#define _SC_PII_OSI_M _SC_PII_OSI_M + _SC_T_IOV_MAX, +#define _SC_T_IOV_MAX _SC_T_IOV_MAX + + /* Values according to POSIX 1003.1c (POSIX threads). */ + _SC_THREADS, +#define _SC_THREADS _SC_THREADS + _SC_THREAD_SAFE_FUNCTIONS, +#define _SC_THREAD_SAFE_FUNCTIONS _SC_THREAD_SAFE_FUNCTIONS + _SC_GETGR_R_SIZE_MAX, +#define _SC_GETGR_R_SIZE_MAX _SC_GETGR_R_SIZE_MAX + _SC_GETPW_R_SIZE_MAX, +#define _SC_GETPW_R_SIZE_MAX _SC_GETPW_R_SIZE_MAX + _SC_LOGIN_NAME_MAX, +#define _SC_LOGIN_NAME_MAX _SC_LOGIN_NAME_MAX + _SC_TTY_NAME_MAX, +#define _SC_TTY_NAME_MAX _SC_TTY_NAME_MAX + _SC_THREAD_DESTRUCTOR_ITERATIONS, +#define _SC_THREAD_DESTRUCTOR_ITERATIONS _SC_THREAD_DESTRUCTOR_ITERATIONS + _SC_THREAD_KEYS_MAX, +#define _SC_THREAD_KEYS_MAX _SC_THREAD_KEYS_MAX + _SC_THREAD_STACK_MIN, +#define _SC_THREAD_STACK_MIN _SC_THREAD_STACK_MIN + _SC_THREAD_THREADS_MAX, +#define _SC_THREAD_THREADS_MAX _SC_THREAD_THREADS_MAX + _SC_THREAD_ATTR_STACKADDR, +#define _SC_THREAD_ATTR_STACKADDR _SC_THREAD_ATTR_STACKADDR + _SC_THREAD_ATTR_STACKSIZE, +#define _SC_THREAD_ATTR_STACKSIZE _SC_THREAD_ATTR_STACKSIZE + _SC_THREAD_PRIORITY_SCHEDULING, +#define _SC_THREAD_PRIORITY_SCHEDULING _SC_THREAD_PRIORITY_SCHEDULING + _SC_THREAD_PRIO_INHERIT, +#define _SC_THREAD_PRIO_INHERIT _SC_THREAD_PRIO_INHERIT + _SC_THREAD_PRIO_PROTECT, +#define _SC_THREAD_PRIO_PROTECT _SC_THREAD_PRIO_PROTECT + _SC_THREAD_PROCESS_SHARED, +#define _SC_THREAD_PROCESS_SHARED _SC_THREAD_PROCESS_SHARED + + _SC_NPROCESSORS_CONF, +#define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_CONF + _SC_NPROCESSORS_ONLN, +#define _SC_NPROCESSORS_ONLN _SC_NPROCESSORS_ONLN + _SC_PHYS_PAGES, +#define _SC_PHYS_PAGES _SC_PHYS_PAGES + _SC_AVPHYS_PAGES, +#define _SC_AVPHYS_PAGES _SC_AVPHYS_PAGES + _SC_ATEXIT_MAX, +#define _SC_ATEXIT_MAX _SC_ATEXIT_MAX + _SC_PASS_MAX, +#define _SC_PASS_MAX _SC_PASS_MAX + + _SC_XOPEN_VERSION, +#define _SC_XOPEN_VERSION _SC_XOPEN_VERSION + _SC_XOPEN_XCU_VERSION, +#define _SC_XOPEN_XCU_VERSION _SC_XOPEN_XCU_VERSION + _SC_XOPEN_UNIX, +#define _SC_XOPEN_UNIX _SC_XOPEN_UNIX + _SC_XOPEN_CRYPT, +#define _SC_XOPEN_CRYPT _SC_XOPEN_CRYPT + _SC_XOPEN_ENH_I18N, +#define _SC_XOPEN_ENH_I18N _SC_XOPEN_ENH_I18N + _SC_XOPEN_SHM, +#define _SC_XOPEN_SHM _SC_XOPEN_SHM + + _SC_2_CHAR_TERM, +#define _SC_2_CHAR_TERM _SC_2_CHAR_TERM + _SC_2_C_VERSION, +#define _SC_2_C_VERSION _SC_2_C_VERSION + _SC_2_UPE, +#define _SC_2_UPE _SC_2_UPE + + _SC_XOPEN_XPG2, +#define _SC_XOPEN_XPG2 _SC_XOPEN_XPG2 + _SC_XOPEN_XPG3, +#define _SC_XOPEN_XPG3 _SC_XOPEN_XPG3 + _SC_XOPEN_XPG4, +#define _SC_XOPEN_XPG4 _SC_XOPEN_XPG4 + + _SC_CHAR_BIT, +#define _SC_CHAR_BIT _SC_CHAR_BIT + _SC_CHAR_MAX, +#define _SC_CHAR_MAX _SC_CHAR_MAX + _SC_CHAR_MIN, +#define _SC_CHAR_MIN _SC_CHAR_MIN + _SC_INT_MAX, +#define _SC_INT_MAX _SC_INT_MAX + _SC_INT_MIN, +#define _SC_INT_MIN _SC_INT_MIN + _SC_LONG_BIT, +#define _SC_LONG_BIT _SC_LONG_BIT + _SC_WORD_BIT, +#define _SC_WORD_BIT _SC_WORD_BIT + _SC_MB_LEN_MAX, +#define _SC_MB_LEN_MAX _SC_MB_LEN_MAX + _SC_NZERO, +#define _SC_NZERO _SC_NZERO + _SC_SSIZE_MAX, +#define _SC_SSIZE_MAX _SC_SSIZE_MAX + _SC_SCHAR_MAX, +#define _SC_SCHAR_MAX _SC_SCHAR_MAX + _SC_SCHAR_MIN, +#define _SC_SCHAR_MIN _SC_SCHAR_MIN + _SC_SHRT_MAX, +#define _SC_SHRT_MAX _SC_SHRT_MAX + _SC_SHRT_MIN, +#define _SC_SHRT_MIN _SC_SHRT_MIN + _SC_UCHAR_MAX, +#define _SC_UCHAR_MAX _SC_UCHAR_MAX + _SC_UINT_MAX, +#define _SC_UINT_MAX _SC_UINT_MAX + _SC_ULONG_MAX, +#define _SC_ULONG_MAX _SC_ULONG_MAX + _SC_USHRT_MAX, +#define _SC_USHRT_MAX _SC_USHRT_MAX + + _SC_NL_ARGMAX, +#define _SC_NL_ARGMAX _SC_NL_ARGMAX + _SC_NL_LANGMAX, +#define _SC_NL_LANGMAX _SC_NL_LANGMAX + _SC_NL_MSGMAX, +#define _SC_NL_MSGMAX _SC_NL_MSGMAX + _SC_NL_NMAX, +#define _SC_NL_NMAX _SC_NL_NMAX + _SC_NL_SETMAX, +#define _SC_NL_SETMAX _SC_NL_SETMAX + _SC_NL_TEXTMAX +#define _SC_NL_TEXTMAX _SC_NL_TEXTMAX + }; + +#ifdef __USE_POSIX2 +/* Values for the NAME argument to `confstr'. */ +enum + { + _CS_PATH /* The default search path. */ + }; +#endif diff --git a/bits/ioctl-types.h b/bits/ioctl-types.h new file mode 100644 index 0000000000..1d5c8a002f --- /dev/null +++ b/bits/ioctl-types.h @@ -0,0 +1,121 @@ +/* Structure types for pre-termios terminal ioctls. Generic Unix version. + Copyright (C) 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. */ + +/* + * Never include this file directly; use instead. + */ + +#ifndef _BITS_IOCTL_TYPES_H +#define _BITS_IOCTL_TYPES_H 1 + + +#if defined(TIOCGETC) || defined(TIOCSETC) +/* Type of ARG for TIOCGETC and TIOCSETC requests. */ +struct tchars +{ + char t_intrc; /* Interrupt character. */ + char t_quitc; /* Quit character. */ + char t_startc; /* Start-output character. */ + char t_stopc; /* Stop-output character. */ + char t_eofc; /* End-of-file character. */ + char t_brkc; /* Input delimiter character. */ +}; + +#define _IOT_tchars /* Hurd ioctl type field. */ \ + _IOT (_IOTS (char), 6, 0, 0, 0, 0) +#endif + +#if defined(TIOCGLTC) || defined(TIOCSLTC) +/* Type of ARG for TIOCGLTC and TIOCSLTC requests. */ +struct ltchars +{ + char t_suspc; /* Suspend character. */ + char t_dsuspc; /* Delayed suspend character. */ + char t_rprntc; /* Reprint-line character. */ + char t_flushc; /* Flush-output character. */ + char t_werasc; /* Word-erase character. */ + char t_lnextc; /* Literal-next character. */ +}; + +#define _IOT_ltchars /* Hurd ioctl type field. */ \ + _IOT (_IOTS (char), 6, 0, 0, 0, 0) +#endif + +/* Type of ARG for TIOCGETP and TIOCSETP requests (and gtty and stty). */ +struct sgttyb +{ + char sg_ispeed; /* Input speed. */ + char sg_ospeed; /* Output speed. */ + char sg_erase; /* Erase character. */ + char sg_kill; /* Kill character. */ + short int sg_flags; /* Mode flags. */ +}; + +#define _IOT_sgttyb /* Hurd ioctl type field. */ \ + _IOT (_IOTS (char), 6, _IOTS (short int), 1, 0, 0) + +#if defined(TIOCGWINSZ) || defined(TIOCSWINSZ) +/* Type of ARG for TIOCGWINSZ and TIOCSWINSZ requests. */ +struct winsize +{ + unsigned short int ws_row; /* Rows, in characters. */ + unsigned short int ws_col; /* Columns, in characters. */ + + /* These are not actually used. */ + unsigned short int ws_xpixel; /* Horizontal pixels. */ + unsigned short int ws_ypixel; /* Vertical pixels. */ +}; + +#define _IOT_winsize /* Hurd ioctl type field. */ \ + _IOT (_IOTS (unsigned short int), 4, 0, 0, 0, 0) +#endif + +#if defined (TIOCGSIZE) || defined (TIOCSSIZE) +/* The BSD-style ioctl constructor macros use `sizeof', which can't be used + in a preprocessor conditional. Since the commands are always unique + regardless of the size bits, we can safely define away `sizeof' for the + purpose of the conditional. */ +# define sizeof(type) 0 +# if defined (TIOCGWINSZ) && TIOCGSIZE == TIOCGWINSZ +/* Many systems that have TIOCGWINSZ define TIOCGSIZE for source + compatibility with Sun; they define `struct ttysize' to have identical + layout as `struct winsize' and #define TIOCGSIZE to be TIOCGWINSZ + (likewise TIOCSSIZE and TIOCSWINSZ). */ +struct ttysize +{ + unsigned short int ts_lines; + unsigned short int ts_cols; + unsigned short int ts_xxx; + unsigned short int ts_yyy; +}; +#define _IOT_ttysize _IOT_winsize +# else +/* Suns use a different layout for `struct ttysize', and TIOCGSIZE and + TIOCGWINSZ are separate commands that do the same thing with different + structures (likewise TIOCSSIZE and TIOCSWINSZ). */ +struct ttysize +{ + int ts_lines, ts_cols; /* Lines and columns, in characters. */ +}; +# endif +# undef sizeof /* See above. */ +#endif + + +#endif /* bits/ioctl-types.h */ diff --git a/bits/mathdef.h b/bits/mathdef.h new file mode 100644 index 0000000000..93b60bd25f --- /dev/null +++ b/bits/mathdef.h @@ -0,0 +1,40 @@ +/* Copyright (C) 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 _MATH_H +# error "Never use directly; include instead" +#endif + + +/* Normally, there is no long double type and the `float' and `double' + expressions are evaluated as `double'. */ +typedef double float_t; /* `float' expressions are evaluated as + `double'. */ +typedef double double_t; /* `double' expressions are evaluated as + `double'. */ + +/* Signal that both types are `double'. */ +#define FLT_EVAL_METHOD 1 + +/* Define `INFINITY' as value of type `float_t'. */ +#define INFINITY HUGE_VAL + + +/* The values returned by `ilogb' for 0 and NaN respectively. */ +#define FP_ILOGB0 0x80000001 +#define FP_ILOGBNAN 0x7fffffff diff --git a/bits/resource.h b/bits/resource.h new file mode 100644 index 0000000000..2c35c12a47 --- /dev/null +++ b/bits/resource.h @@ -0,0 +1,146 @@ +/* Bit values & structures for resource limits. 4.4 BSD/generic GNU version. + Copyright (C) 1994, 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. */ + +/* These are the values for 4.4 BSD and GNU. Earlier BSD systems have a + subset of these kinds of resource limit. In systems where `getrlimit' + and `setrlimit' are not system calls, these are the values used by the C + library to emulate them. */ + +/* Kinds of resource limit. */ +enum __rlimit_resource + { + /* Per-process CPU limit, in seconds. */ + RLIMIT_CPU, +#define RLIMIT_CPU RLIMIT_CPU + /* Largest file that can be created, in bytes. */ + RLIMIT_FSIZE, +#define RLIMIT_FSIZE RLIMIT_FSIZE + /* Maximum size of data segment, in bytes. */ + RLIMIT_DATA, +#define RLIMIT_DATA RLIMIT_DATA + /* Maximum size of stack segment, in bytes. */ + RLIMIT_STACK, +#define RLIMIT_STACK RLIMIT_STACK + /* Largest core file that can be created, in bytes. */ + RLIMIT_CORE, +#define RLIMIT_CORE RLIMIT_CORE + /* Largest resident set size, in bytes. + This affects swapping; processes that are exceeding their + resident set size will be more likely to have physical memory + taken from them. */ + RLIMIT_RSS, +#define RLIMIT_RSS RLIMIT_RSS + /* Locked-in-memory address space. */ + RLIMIT_MEMLOCK, +#define RLIMIT_MEMLOCK RLIMIT_MEMLOCK + /* Number of processes. */ + RLIMIT_NPROC, +#define RLIMIT_NPROC RLIMIT_NPROC + /* Number of open files. */ + RLIMIT_OFILE, + RLIMIT_NOFILE = RLIMIT_OFILE, /* Another name for the same thing. */ +#define RLIMIT_OFILE RLIMIT_OFILE +#define RLIMIT_NOFILE RLIMIT_NOFILE + + RLIMIT_NLIMITS, /* Number of limit flavors. */ + RLIM_NLIMITS = RLIMIT_NLIMITS, /* Traditional name for same. */ + + RLIM_INFINITY = 0x7fffffff /* Value to indicate that there is no limit. */ +#define RLIM_INFINITY RLIM_INFINITY + }; + +struct rlimit + { + /* The current (soft) limit. */ + int rlim_cur; + /* The hard limit. */ + int rlim_max; + }; + +/* Whose usage statistics do you want? */ +enum __rusage_who +/* The macro definitions are necessary because some programs want + to test for operating system features with #ifdef RUSAGE_SELF. + In ISO C the reflexive definition is a no-op. */ + { + /* The calling process. */ + RUSAGE_SELF = 0, +#define RUSAGE_SELF RUSAGE_SELF + /* All of its terminated child processes. */ + RUSAGE_CHILDREN = -1 +#define RUSAGE_CHILDREN RUSAGE_CHILDREN + }; + +#include /* For `struct timeval'. */ + +/* Structure which says how much of each resource has been used. */ +struct rusage + { + /* Total amount of user time used. */ + struct timeval ru_utime; + /* Total amount of system time used. */ + struct timeval ru_stime; + /* Maximum resident set size (in kilobytes). */ + long int ru_maxrss; + /* Amount of sharing of text segment memory + with other processes (kilobyte-seconds). */ + long int ru_ixrss; + /* Amount of data segment memory used (kilobyte-seconds). */ + long int ru_idrss; + /* Amount of stack memory used (kilobyte-seconds). */ + long int ru_isrss; + /* Number of soft page faults (i.e. those serviced by reclaiming + a page from the list of pages awaiting reallocation. */ + long int ru_minflt; + /* Number of hard page faults (i.e. those that required I/O). */ + long int ru_majflt; + /* Number of times a process was swapped out of physical memory. */ + long int ru_nswap; + /* Number of input operations via the file system. Note: This + and `ru_oublock' do not include operations with the cache. */ + long int ru_inblock; + /* Number of output operations via the file system. */ + long int ru_oublock; + /* Number of IPC messages sent. */ + long int ru_msgsnd; + /* Number of IPC messages received. */ + long int ru_msgrcv; + /* Number of signals delivered. */ + long int ru_nsignals; + /* Number of voluntary context switches, i.e. because the process + gave up the process before it had to (usually to wait for some + resource to be available). */ + long int ru_nvcsw; + /* Number of involuntary context switches, i.e. a higher priority process + became runnable or the current process used up its time slice. */ + long int ru_nivcsw; + }; + +/* Priority limits. */ +#define PRIO_MIN -20 /* Minimum priority a process can have. */ +#define PRIO_MAX 20 /* Maximum priority a process can have. */ + +/* The type of the WHICH argument to `getpriority' and `setpriority', + indicating what flavor of entity the WHO argument specifies. */ +enum __priority_which + { + PRIO_PROCESS = 0, /* WHO is a process ID. */ + PRIO_PGRP = 1, /* WHO is a process group ID. */ + PRIO_USER = 2 /* WHO is a user ID. */ + }; diff --git a/bits/sched.h b/bits/sched.h new file mode 100644 index 0000000000..bb5da5676f --- /dev/null +++ b/bits/sched.h @@ -0,0 +1,35 @@ +/* Definitions of constants and data structure for POSIX 1003.1b-1993 + scheduling interface. + Copyright (C) 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. */ + +#ifndef _SCHED_H +#error "Never use directly; include instead." +#endif + + +/* Scheduling algorithms. */ +#define SCHED_OTHER 0 +#define SCHED_FIFO 1 +#define SCHED_RR 2 + +/* Data structure to describe a process' schedulability. */ +struct sched_param +{ + int sched_priority; +}; diff --git a/bits/select.h b/bits/select.h new file mode 100644 index 0000000000..613919577c --- /dev/null +++ b/bits/select.h @@ -0,0 +1,29 @@ +/* Copyright (C) 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 _SYS_SELECT_H +#error "Never use directly; include instead." +#endif + + +/* This line MUST be split! Otherwise m4 will not change it. */ +#define __FD_ZERO(set) \ + ((void) memset ((__ptr_t) (set), 0, sizeof (fd_set))) +#define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d)) +#define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) +#define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) diff --git a/bits/sigaction.h b/bits/sigaction.h new file mode 100644 index 0000000000..1676b1ce8e --- /dev/null +++ b/bits/sigaction.h @@ -0,0 +1,50 @@ +/* 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., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +/* These definitions match those used by the 4.4 BSD kernel. + If the operating system has a `sigaction' system call that correctly + implements the POSIX.1 behavior, there should be a system-dependent + version of this file that defines `struct sigaction' and the `SA_*' + constants appropriately. */ + +/* Structure describing the action to be taken when a signal arrives. */ +struct sigaction + { + /* Signal handler. */ + __sighandler_t sa_handler; + + /* Additional set of signals to be blocked. */ + __sigset_t sa_mask; + + /* Special flags. */ + int sa_flags; + }; + +/* Bits in `sa_flags'. */ +#ifdef __USE_BSD +#define SA_ONSTACK 0x1 /* Take signal on signal stack. */ +#define SA_RESTART 0x2 /* Don't restart syscall on signal return. */ +#define SA_DISABLE 0x4 /* Disable alternate signal stack. */ +#endif +#define SA_NOCLDSTOP 0x8 /* Don't send SIGCHLD when children stop. */ + + +/* Values for the HOW argument to `sigprocmask'. */ +#define SIG_BLOCK 1 /* Block signals. */ +#define SIG_UNBLOCK 2 /* Unblock signals. */ +#define SIG_SETMASK 3 /* Set the set of blocked signals. */ diff --git a/bits/sigset.h b/bits/sigset.h new file mode 100644 index 0000000000..9fad4538d7 --- /dev/null +++ b/bits/sigset.h @@ -0,0 +1,81 @@ +/* __sig_atomic_t, __sigset_t, and related definitions. Generic/BSD version. + Copyright (C) 1991, 1992, 1994, 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 _SIGSET_H_types +#define _SIGSET_H_types 1 + +typedef int __sig_atomic_t; + +/* A `sigset_t' has a bit for each signal. */ +typedef unsigned long int __sigset_t; + +#endif + + +/* We only want to define these functions if was actually + included; otherwise we were included just to define the types. Since we + are namespace-clean, it wouldn't hurt to define extra macros. But + trouble can be caused by functions being defined (e.g., any global + register vars declared later will cause compilation errors). */ + +#if !defined (_SIGSET_H_fns) && defined (_SIGNAL_H) +#define _SIGSET_H_fns 1 + +#ifndef _EXTERN_INLINE +#define _EXTERN_INLINE extern __inline +#endif + +/* Return a mask that includes SIG only. The cast to `sigset_t' avoids + overflow if `sigset_t' is wider than `int'. */ +#define __sigmask(sig) (((__sigset_t) 1) << ((sig) - 1)) + +#define __sigemptyset(set) ((*(set) = (__sigset_t) 0), 0) +#define __sigfillset(set) ((*(set) = ~(__sigset_t) 0), 0) + +#ifdef _GNU_SOURCE +# define __sigisemptyset(set) (*(set) == (__sigset_t) 0) +# define __sigandset(dest, left, right) \ + ((*(dest) = (*(left) & *(right))), 0) +# define __sigorset(dest, left, right) \ + ((*(dest) = (*(left) | *(right))), 0) +#endif + +/* These functions needn't check for a bogus signal number -- error + checking is done in the non __ versions. */ + +extern int __sigismember (__const __sigset_t *, int); +extern int __sigaddset (__sigset_t *, int); +extern int __sigdelset (__sigset_t *, int); + +#define __SIGSETFN(NAME, BODY, CONST) \ + _EXTERN_INLINE int \ + NAME (CONST __sigset_t *__set, int __sig) \ + { \ + __sigset_t __mask = __sigmask (__sig); \ + return BODY; \ + } + +__SIGSETFN (__sigismember, (*__set & __mask) ? 1 : 0, __const) +__SIGSETFN (__sigaddset, ((*__set |= __mask), 0), ) +__SIGSETFN (__sigdelset, ((*__set &= ~__mask), 0), ) + +#undef __SIGSETFN + + +#endif /* ! _SIGSET_H_fns. */ diff --git a/bits/sockaddr.h b/bits/sockaddr.h new file mode 100644 index 0000000000..73a0e26ec4 --- /dev/null +++ b/bits/sockaddr.h @@ -0,0 +1,41 @@ +/* Definition of `struct sockaddr_*' common members. Generic/4.2 BSD version. + 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. */ + +/* + * Never include this file directly; use instead. + */ + +#ifndef _BITS_SOCKADDR_H +#define _BITS_SOCKADDR_H 1 + + +/* POSIX.1g specifies this type name for the `sa_family' member. */ +typedef unsigned short int sa_family_t; + +/* This macro is used to declare the initial common members + of the data types used for socket addresses, `struct sockaddr', + `struct sockaddr_in', `struct sockaddr_un', etc. */ + +#define __SOCKADDR_COMMON(sa_prefix) \ + sa_family_t sa_prefix##family + +#define __SOCKADDR_COMMON_SIZE (sizeof (unsigned short int)) + + +#endif /* bits/sockaddr.h */ diff --git a/bits/socket.h b/bits/socket.h new file mode 100644 index 0000000000..d12d96cc14 --- /dev/null +++ b/bits/socket.h @@ -0,0 +1,200 @@ +/* System-specific socket constants and types. Generic/4.3 BSD version. + Copyright (C) 1991, 92, 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. */ + +#ifndef _SYS_SOCKET_H +#error "Never include directly; use instead." +#endif + + +#include + +__BEGIN_DECLS + +#define __need_size_t +#include + + +/* Types of sockets. */ +enum __socket_type +{ + SOCK_STREAM = 1, /* Sequenced, reliable, connection-based + byte streams. */ +#define SOCK_STREAM SOCK_STREAM + SOCK_DGRAM = 2, /* Connectionless, unreliable datagrams + of fixed maximum length. */ +#define SOCK_DGRAM SOCK_DGRAM + SOCK_RAW = 3, /* Raw protocol interface. */ +#define SOCK_RAW SOCK_RAW + SOCK_RDM = 4, /* Reliably-delivered messages. */ +#define SOCK_RDM SOCK_RDM + SOCK_SEQPACKET = 5, /* Sequenced, reliable, connection-based, + datagrams of fixed maximum length. */ +#define SOCK_SEQPACKET SOCK_SEQPACKET +}; + +/* Protocol families. */ +#define PF_UNSPEC 0 /* Unspecified. */ +#define PF_LOCAL 1 /* Local to host (pipes and file-domain). */ +#define PF_UNIX PF_LOCAL /* Old BSD name for PF_LOCAL. */ +#define PF_FILE PF_LOCAL /* POSIX name for PF_LOCAL. */ +#define PF_INET 2 /* IP protocol family. */ +#define PF_IMPLINK 3 /* ARPAnet IMP protocol. */ +#define PF_PUP 4 /* PUP protocols. */ +#define PF_CHAOS 5 /* MIT Chaos protocols. */ +#define PF_NS 6 /* Xerox NS protocols. */ +#define PF_ISO 7 /* ISO protocols. */ +#define PF_OSI PF_ISO +#define PF_ECMA 8 /* ECMA protocols. */ +#define PF_DATAKIT 9 /* AT&T Datakit protocols. */ +#define PF_CCITT 10 /* CCITT protocols (X.25 et al). */ +#define PF_SNA 11 /* IBM SNA protocol. */ +#define PF_DECnet 12 /* DECnet protocols. */ +#define PF_DLI 13 /* Direct data link interface. */ +#define PF_LAT 14 /* DEC Local Area Transport protocol. */ +#define PF_HYLINK 15 /* NSC Hyperchannel protocol. */ +#define PF_APPLETALK 16 /* Don't use this. */ +#define PF_ROUTE 17 /* Internal Routing Protocol. */ +#define PF_LINK 18 /* Link layer interface. */ +#define PF_XTP 19 /* eXpress Transfer Protocol (no AF). */ +#define PF_COIP 20 /* Connection-oriented IP, aka ST II. */ +#define PF_CNT 21 /* Computer Network Technology. */ +#define PF_RTIP 22 /* Help Identify RTIP packets. **/ +#define PF_IPX 23 /* Novell Internet Protocol. */ +#define PF_SIP 24 /* Simple Internet Protocol. */ +#define PF_PIP 25 /* Help Identify PIP packets. */ +#define PF_INET6 26 /* IP version 6. */ +#define PF_MAX 27 + +/* Address families. */ +#define AF_UNSPEC PF_UNSPEC +#define AF_LOCAL PF_LOCAL +#define AF_UNIX PF_UNIX +#define AF_FILE PF_FILE +#define AF_INET PF_INET +#define AF_IMPLINK PF_IMPLINK +#define AF_PUP PF_PUP +#define AF_CHAOS PF_CHAOS +#define AF_NS PF_NS +#define AF_ISO PF_ISO +#define AF_OSI PF_OSI +#define AF_ECMA PF_ECMA +#define AF_DATAKIT PF_DATAKIT +#define AF_CCITT PF_CCITT +#define AF_SNA PF_SNA +#define AF_DECnet PF_DECnet +#define AF_DLI PF_DLI +#define AF_LAT PF_LAT +#define AF_HYLINK PF_HYLINK +#define AF_APPLETALK PF_APPLETALK +#define AF_ROUTE PF_ROUTE +#define AF_LINK PF_LINK +#define pseudo_AF_XTP PF_XTP +#define AF_COIP PF_COIP +#define AF_CNT PF_CNT +#define pseudo_AF_RTIP PF_RTIP +#define AF_IPX PF_IPX +#define AF_SIP PF_SIP +#define pseudo_AF_PIP PF_PIP +#define AF_INET6 PF_INET6 +#define AF_MAX PF_MAX + + +/* Get the definition of the macro to define the common sockaddr members. */ +#include + +/* Structure describing a generic socket address. */ +struct sockaddr + { + __SOCKADDR_COMMON (sa_); /* Common data: address family and length. */ + char sa_data[14]; /* Address data. */ + }; + + +/* Bits in the FLAGS argument to `send', `recv', et al. */ +enum + { + MSG_OOB = 0x01, /* Process out-of-band data. */ + MSG_PEEK = 0x02, /* Peek at incoming messages. */ + MSG_DONTROUTE = 0x04, /* Don't use local routing. */ + MSG_EOR = 0x08, /* Data completes record. */ + MSG_TRUNC = 0x10, /* Data discarded before delivery. */ + MSG_CTRUNC = 0x20, /* Control data lost before delivery. */ + MSG_WAITALL = 0x40, /* Wait for full request or error. */ + MSG_DONTWAIT = 0x80, /* This message should be nonblocking. */ + }; + + +/* Structure describing messages sent by + `sendmsg' and received by `recvmsg'. */ +struct msghdr + { + __ptr_t msg_name; /* Address to send to/receive from. */ + size_t msg_namelen; /* Length of address data. */ + + struct iovec *msg_iov; /* Vector of data to send/receive into. */ + size_t msg_iovlen; /* Number of elements in the vector. */ + + __ptr_t msg_accrights; /* Access rights information. */ + size_t msg_accrightslen; /* Length of access rights information. */ + }; + + +/* Protocol number used to manipulate socket-level options + with `getsockopt' and `setsockopt'. */ +#define SOL_SOCKET 0xffff + +/* Socket-level options for `getsockopt' and `setsockopt'. */ +enum + { + SO_DEBUG = 0x0001, /* Record debugging information. */ + SO_ACCEPTCONN = 0x0002, /* Accept connections on socket. */ + SO_REUSEADDR = 0x0004, /* Allow reuse of local addresses. */ + SO_KEEPALIVE = 0x0008, /* Keep connections alive and send + SIGPIPE when they die. */ + SO_DONTROUTE = 0x0010, /* Don't do local routing. */ + SO_BROADCAST = 0x0020, /* Allow transmission of + broadcast messages. */ + SO_USELOOPBACK = 0x0040, /* Use the software loopback to avoid + hardware use when possible. */ + SO_LINGER = 0x0080, /* Block on close of a reliable + socket to transmit pending data. */ + SO_OOBINLINE = 0x0100, /* Receive out-of-band data in-band. */ + + SO_REUSEPORT = 0x0200, /* Allow local address and port reuse. */ + + SO_SNDBUF = 0x1001, /* Send buffer size. */ + SO_RCVBUF = 0x1002, /* Receive buffer. */ + SO_SNDLOWAT = 0x1003, /* Send low-water mark. */ + SO_RCVLOWAT = 0x1004, /* Receive low-water mark. */ + SO_SNDTIMEO = 0x1005, /* Send timeout. */ + SO_RCVTIMEO = 0x1006, /* Receive timeout. */ + + SO_ERROR = 0x1007, /* Get and clear error status. */ + SO_STYLE = 0x1008, /* Get socket connection style. */ + SO_TYPE = SO_STYLE, /* Compatible name for SO_STYLE. */ + }; + +/* Structure used to manipulate the SO_LINGER option. */ +struct linger + { + int l_onoff; /* Nonzero to linger on close. */ + int l_linger; /* Time to linger. */ + }; + +__END_DECLS diff --git a/bits/statfs.h b/bits/statfs.h new file mode 100644 index 0000000000..10bc0728b2 --- /dev/null +++ b/bits/statfs.h @@ -0,0 +1,52 @@ +/* Definition of `struct statfs', information about a filesystem. + 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 instead. + */ + +#ifndef _BITS_STATFS_H +#define _BITS_STATFS_H 1 + +#include + +/* GNU Hurd NOTE: The size of this structure (16 ints) is known in + , since it is used in the `file_statfs' RPC. MiG + does not cope at all well with the passed C structure not being of the + expected size. There are some filler words at the end to allow for + future expansion. To increase the size of the structure used in the RPC + and retain binary compatibility, we would need to assign a new message + number. */ + +struct statfs + { + unsigned int f_type; + unsigned int f_bsize; + unsigned int f_blocks; + unsigned int f_bfree; + unsigned int f_bavail; + unsigned int f_files; + unsigned int f_ffree; + __fsid_t f_fsid; + unsigned int f_namelen; + unsigned int f_spare[6]; + }; + + +#endif /* bits/statfs.h */ diff --git a/bits/termios.h b/bits/termios.h new file mode 100644 index 0000000000..9a6aed2bba --- /dev/null +++ b/bits/termios.h @@ -0,0 +1,230 @@ +/* termios type and macro definitions. 4.4 BSD/generic GNU version. + Copyright (C) 1993, 1994, 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. */ + +/* These macros are also defined in some files (with + numerically identical values), but this serves to shut up cpp's + complaining. */ +#ifdef __USE_BSD + +#ifdef MDMBUF +#undef MDMBUF +#endif +#ifdef FLUSHO +#undef FLUSHO +#endif +#ifdef PENDIN +#undef PENDIN +#endif + +#endif /* __USE_BSD */ + +#ifdef ECHO +#undef ECHO +#endif +#ifdef TOSTOP +#undef TOSTOP +#endif +#ifdef NOFLSH +#undef NOFLSH +#endif + + +/* These definitions match those used by the 4.4 BSD kernel. + If the operating system has termios system calls or ioctls that + correctly implement the POSIX.1 behavior, there should be a + system-dependent version of this file that defines `struct termios', + `tcflag_t', `cc_t', `speed_t' and the `TC*' constants appropriately. */ + +/* Type of terminal control flag masks. */ +typedef unsigned long int tcflag_t; + +/* Type of control characters. */ +typedef unsigned char cc_t; + +/* Type of baud rate specifiers. */ +typedef long int speed_t; + +/* Terminal control structure. */ +struct termios +{ + /* Input modes. */ + tcflag_t c_iflag; +#define IGNBRK (1 << 0) /* Ignore break condition. */ +#define BRKINT (1 << 1) /* Signal interrupt on break. */ +#define IGNPAR (1 << 2) /* Ignore characters with parity errors. */ +#define PARMRK (1 << 3) /* Mark parity and framing errors. */ +#define INPCK (1 << 4) /* Enable input parity check. */ +#define ISTRIP (1 << 5) /* Strip 8th bit off characters. */ +#define INLCR (1 << 6) /* Map NL to CR on input. */ +#define IGNCR (1 << 7) /* Ignore CR. */ +#define ICRNL (1 << 8) /* Map CR to NL on input. */ +#define IXON (1 << 9) /* Enable start/stop output control. */ +#define IXOFF (1 << 10) /* Enable start/stop input control. */ +#ifdef __USE_BSD +#define IXANY (1 << 11) /* Any character will restart after stop. */ +#define IMAXBEL (1 << 13) /* Ring bell when input queue is full. */ +#endif + + /* Output modes. */ + tcflag_t c_oflag; +#define OPOST (1 << 0) /* Perform output processing. */ +#ifdef __USE_BSD +#define ONLCR (1 << 1) /* Map NL to CR-NL on output. */ +#define OXTABS (1 << 2) /* Expand tabs to spaces. */ +#define ONOEOT (1 << 8) /* Discard EOT (^D) on output. */ +#endif + + /* Control modes. */ + tcflag_t c_cflag; +#ifdef __USE_BSD +#define CIGNORE (1 << 0) /* Ignore these control flags. */ +#endif +#define CSIZE (CS5|CS6|CS7|CS8) /* Number of bits per byte (mask). */ +#define CS5 0 /* 5 bits per byte. */ +#define CS6 (1 << 8) /* 6 bits per byte. */ +#define CS7 (1 << 9) /* 7 bits per byte. */ +#define CS8 (CS6|CS7) /* 8 bits per byte. */ +#define CSTOPB (1 << 10) /* Two stop bits instead of one. */ +#define CREAD (1 << 11) /* Enable receiver. */ +#define PARENB (1 << 12) /* Parity enable. */ +#define PARODD (1 << 13) /* Odd parity instead of even. */ +#define HUPCL (1 << 14) /* Hang up on last close. */ +#define CLOCAL (1 << 15) /* Ignore modem status lines. */ +#ifdef __USE_BSD +#define CCTS_OFLOW (1 << 16) /* CTS flow control of output. */ +#define CRTS_IFLOW (1 << 17) /* RTS flow control of input. */ +#define MDMBUF (1 << 20) /* Carrier flow control of output. */ +#endif + + /* Local modes. */ + tcflag_t c_lflag; +#ifdef __USE_BSD +#define ECHOKE (1 << 0) /* Visual erase for KILL. */ +#endif +#define _ECHOE (1 << 1) /* Visual erase for ERASE. */ +#define ECHOE _ECHOE +#define _ECHOK (1 << 2) /* Echo NL after KILL. */ +#define ECHOK _ECHOK +#define _ECHO (1 << 3) /* Enable echo. */ +#define ECHO _ECHO +#define _ECHONL (1 << 4) /* Echo NL even if ECHO is off. */ +#define ECHONL _ECHONL +#ifdef __USE_BSD +#define ECHOPRT (1 << 5) /* Hardcopy visual erase. */ +#define ECHOCTL (1 << 6) /* Echo control characters as ^X. */ +#endif +#define _ISIG (1 << 7) /* Enable signals. */ +#define ISIG _ISIG +#define _ICANON (1 << 8) /* Do erase and kill processing. */ +#define ICANON _ICANON +#ifdef __USE_BSD +#define ALTWERASE (1 << 9) /* Alternate WERASE algorithm. */ +#endif +#define _IEXTEN (1 << 10) /* Enable DISCARD and LNEXT. */ +#define IEXTEN _IEXTEN +#define EXTPROC (1 << 11) /* External processing. */ +#define _TOSTOP (1 << 22) /* Send SIGTTOU for background output. */ +#define TOSTOP _TOSTOP +#ifdef __USE_BSD +#define FLUSHO (1 << 23) /* Output being flushed (state). */ +#define NOKERNINFO (1 << 25) /* Disable VSTATUS. */ +#define PENDIN (1 << 29) /* Retype pending input (state). */ +#endif +#define _NOFLSH (1 << 31) /* Disable flush after interrupt. */ +#define NOFLSH _NOFLSH + + /* Control characters. */ +#define VEOF 0 /* End-of-file character [ICANON]. */ +#define VEOL 1 /* End-of-line character [ICANON]. */ +#ifdef __USE_BSD +#define VEOL2 2 /* Second EOL character [ICANON]. */ +#endif +#define VERASE 3 /* Erase character [ICANON]. */ +#ifdef __USE_BSD +#define VWERASE 4 /* Word-erase character [ICANON]. */ +#endif +#define VKILL 5 /* Kill-line character [ICANON]. */ +#ifdef __USE_BSD +#define VREPRINT 6 /* Reprint-line character [ICANON]. */ +#endif +#define VINTR 8 /* Interrupt character [ISIG]. */ +#define VQUIT 9 /* Quit character [ISIG]. */ +#define VSUSP 10 /* Suspend character [ISIG]. */ +#ifdef __USE_BSD +#define VDSUSP 11 /* Delayed suspend character [ISIG]. */ +#endif +#define VSTART 12 /* Start (X-ON) character [IXON, IXOFF]. */ +#define VSTOP 13 /* Stop (X-OFF) character [IXON, IXOFF]. */ +#ifdef __USE_BSD +#define VLNEXT 14 /* Literal-next character [IEXTEN]. */ +#define VDISCARD 15 /* Discard character [IEXTEN]. */ +#endif +#define VMIN 16 /* Minimum number of bytes read at once [!ICANON]. */ +#define VTIME 17 /* Time-out value (tenths of a second) [!ICANON]. */ +#ifdef __USE_BSD +#define VSTATUS 18 /* Status character [ICANON]. */ +#endif +#define NCCS 20 /* Value duplicated in . */ + cc_t c_cc[NCCS]; + + /* Input and output baud rates. */ + speed_t __ispeed, __ospeed; +#define B0 0 /* Hang up. */ +#define B50 50 /* 50 baud. */ +#define B75 75 /* 75 baud. */ +#define B110 110 /* 110 baud. */ +#define B134 134 /* 134.5 baud. */ +#define B150 150 /* 150 baud. */ +#define B200 200 /* 200 baud. */ +#define B300 300 /* 300 baud. */ +#define B600 600 /* 600 baud. */ +#define B1200 1200 /* 1200 baud. */ +#define B1800 1800 /* 1800 baud. */ +#define B2400 2400 /* 2400 baud. */ +#define B4800 4800 /* 4800 baud. */ +#define B9600 9600 /* 9600 baud. */ +#define B19200 19200 /* 19200 baud. */ +#define B38400 38400 /* 38400 baud. */ +#ifdef __USE_BSD +#define EXTA 19200 +#define EXTB 38400 +#endif +}; + +#define _IOT_termios /* Hurd ioctl type field. */ \ + _IOT (_IOTS (tcflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2) + +/* Values for the OPTIONAL_ACTIONS argument to `tcsetattr'. */ +#define TCSANOW 0 /* Change immediately. */ +#define TCSADRAIN 1 /* Change when pending output is written. */ +#define TCSAFLUSH 2 /* Flush pending input before changing. */ +#ifdef __USE_BSD +#define TCSASOFT 0x10 /* Flag: Don't alter hardware state. */ +#endif + +/* Values for the QUEUE_SELECTOR argument to `tcflush'. */ +#define TCIFLUSH 1 /* Discard data received but not yet read. */ +#define TCOFLUSH 2 /* Discard data written but not yet sent. */ +#define TCIOFLUSH 3 /* Discard all pending data. */ + +/* Values for the ACTION argument to `tcflow'. */ +#define TCOOFF 1 /* Suspend output. */ +#define TCOON 2 /* Restart suspended output. */ +#define TCIOFF 3 /* Send a STOP character. */ +#define TCION 4 /* Send a START character. */ diff --git a/bits/types.h b/bits/types.h new file mode 100644 index 0000000000..c264adc917 --- /dev/null +++ b/bits/types.h @@ -0,0 +1,94 @@ +/* Copyright (C) 1991, 92, 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. */ + +/* + * Never include this file directly; use instead. + */ + +#ifndef _BITS_TYPES_H +#define _BITS_TYPES_H 1 + + +/* Convenience types. */ +typedef unsigned char __u_char; +typedef unsigned short __u_short; +typedef unsigned int __u_int; +typedef unsigned long __u_long; +#ifdef __GNUC__ +typedef unsigned long long int __u_quad_t; +typedef long long int __quad_t; +#else +typedef struct +{ + long __val[2]; +} __quad_t; +typedef struct +{ + __u_long __val[2]; +} __u_quad_t; +#endif +typedef signed char __int8_t; +typedef unsigned char __uint8_t; +typedef signed short int __int16_t; +typedef unsigned short int __uint16_t; +typedef signed int __int32_t; +typedef unsigned int __uint32_t; +#ifdef __GNUC__ +typedef signed long long int __int64_t; +typedef unsigned long long int __uint64_t; +#endif +typedef __quad_t *__qaddr_t; +typedef int __dev_t; /* Type of device numbers. */ +typedef unsigned int __uid_t; /* Type of user identifications. */ +typedef unsigned int __gid_t; /* Type of group identifications. */ +typedef unsigned int __ino_t; /* Type of file serial numbers. */ +typedef unsigned int __mode_t; /* Type of file attribute bitmasks. */ +typedef unsigned short int __nlink_t; /* Type of file link counts. */ +typedef long int __off_t; /* Type of file sizes and offsets. */ +typedef __quad_t __loff_t; /* Type of file sizes and offsets. */ +typedef int __pid_t; /* Type of process identifications. */ +typedef int __ssize_t; /* Type of a byte count, or error. */ +typedef __u_quad_t __fsid_t; /* Type of file system IDs. */ +typedef long int __clock_t; /* Type of CPU usage counts. */ + +/* Everythin' else. */ +typedef long int __daddr_t; /* The type of a disk address. */ +typedef char *__caddr_t; +typedef long int __time_t; +typedef long int __swblk_t; /* Type of a swap block maybe? */ +typedef long int __key_t; /* Type of an IPC key */ + +/* fd_set for select. */ + +/* Number of descriptors that can fit in an `fd_set'. */ +#define __FD_SETSIZE 256 + +/* It's easier to assume 8-bit bytes than to get CHAR_BIT. */ +#define __NFDBITS (sizeof (unsigned long int) * 8) +#define __FDELT(d) ((d) / __NFDBITS) +#define __FDMASK(d) (1 << ((d) % __NFDBITS)) + +typedef struct + { + /* XPG4.2 requires this member name. */ + unsigned long int fds_bits[(__FD_SETSIZE + (__NFDBITS - 1)) / __NFDBITS]; + } __fd_set; + +typedef unsigned long int __fd_mask; + +#endif /* bits/types.h */ diff --git a/bits/uio.h b/bits/uio.h new file mode 100644 index 0000000000..1a12697008 --- /dev/null +++ b/bits/uio.h @@ -0,0 +1,32 @@ +/* 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. */ + +#ifndef _SYS_UIO_H +#error "Never use directly; include instead." +#endif + + +/* `struct iovec' -- Structure describing a section of memory. */ + +struct iovec +{ + /* Starting address. */ + __ptr_t iov_base; + /* Length in bytes. */ + size_t iov_len; +}; diff --git a/bits/ustat.h b/bits/ustat.h new file mode 100644 index 0000000000..aa5d493e63 --- /dev/null +++ b/bits/ustat.h @@ -0,0 +1,30 @@ +/* Generic declaration of ustat structure. +Copyright (C) 1994, 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., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +__BEGIN_DECLS + +struct ustat +{ + __daddr_t f_tfree; /* total free */ + __ino_t f_tinode; /* total inodes free */ + char f_fname[6]; /* filesystem name */ + char f_fpack[6]; /* filesystem pack name */ +}; + +__END_DECLS diff --git a/bits/utmp.h b/bits/utmp.h new file mode 100644 index 0000000000..b8decb0598 --- /dev/null +++ b/bits/utmp.h @@ -0,0 +1,53 @@ +/* The `struct utmp' type, describing entries in the utmp file. Generic/BSDish + Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc. + + 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 _UTMP_H +#error "Never use directly; include instead." +#endif + + +#include + +#include +#include + + +#define UT_NAMESIZE 8 +#define UT_LINESIZE 8 +#define UT_HOSTSIZE 16 + +__BEGIN_DECLS + +struct lastlog { + time_t ll_time; + char ll_line[UT_LINESIZE]; + char ll_host[UT_HOSTSIZE]; +}; + +struct utmp { + char ut_line[UT_LINESIZE]; + char ut_name[UT_NAMESIZE]; + char ut_host[UT_HOSTSIZE]; + long ut_time; +}; + + +#define _HAVE_UT_HOST 1 /* We have the ut_host field. */ + + +__END_DECLS diff --git a/bits/utsname.h b/bits/utsname.h new file mode 100644 index 0000000000..5594bcc4da --- /dev/null +++ b/bits/utsname.h @@ -0,0 +1,3 @@ +/* The size of the character arrays used to hold the information + in a `struct utsname'. Enlarge this as necessary. */ +#define _UTSNAME_LENGTH 1024 diff --git a/bits/waitstatus.h b/bits/waitstatus.h new file mode 100644 index 0000000000..8e97f2702c --- /dev/null +++ b/bits/waitstatus.h @@ -0,0 +1,104 @@ +/* Definitions of status bits for `wait' et al. + Copyright (C) 1992, 1994, 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 _SYS_WAIT_H +#error "Never use directly; include instead." +#endif + + +/* Everything extant so far uses these same bits. */ + + +/* If WIFEXITED(STATUS), the low-order 8 bits of the status. */ +#define __WEXITSTATUS(status) (((status) & 0xff00) >> 8) + +/* If WIFSIGNALED(STATUS), the terminating signal. */ +#define __WTERMSIG(status) ((status) & 0x7f) + +/* If WIFSTOPPED(STATUS), the signal that stopped the child. */ +#define __WSTOPSIG(status) __WEXITSTATUS(status) + +/* Nonzero if STATUS indicates normal termination. */ +#define __WIFEXITED(status) (__WTERMSIG(status) == 0) + +/* Nonzero if STATUS indicates termination by a signal. */ +#ifdef __GNUC__ +#define __WIFSIGNALED(status) \ + (__extension__ ({ int __status = (status); \ + !__WIFSTOPPED(__status) && !__WIFEXITED(__status); })) +#else /* Not GCC. */ +#define __WIFSIGNALED(status) (!__WIFSTOPPED(status) && !__WIFEXITED(status)) +#endif /* GCC. */ + +/* Nonzero if STATUS indicates the child is stopped. */ +#define __WIFSTOPPED(status) (((status) & 0xff) == 0x7f) + +/* Nonzero if STATUS indicates the child dumped core. */ +#define __WCOREDUMP(status) ((status) & __WCOREFLAG) + +/* Macros for constructing status values. */ +#define __W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) +#define __W_STOPCODE(sig) ((sig) << 8 | 0x7f) +#define __WCOREFLAG 0x80 + + +#ifdef __USE_BSD + +#include + +union wait + { + int w_status; + struct + { +#if __BYTE_ORDER == __LITTLE_ENDIAN + unsigned int __w_termsig:7; /* Terminating signal. */ + unsigned int __w_coredump:1; /* Set if dumped core. */ + unsigned int __w_retcode:8; /* Return code if exited normally. */ + unsigned int:16; +#endif /* Little endian. */ +#if __BYTE_ORDER == __BIG_ENDIAN + unsigned int:16; + unsigned int __w_retcode:8; + unsigned int __w_coredump:1; + unsigned int __w_termsig:7; +#endif /* Big endian. */ + } __wait_terminated; + struct + { +#if __BYTE_ORDER == __LITTLE_ENDIAN + unsigned int __w_stopval:8; /* W_STOPPED if stopped. */ + unsigned int __w_stopsig:8; /* Stopping signal. */ + unsigned int:16; +#endif /* Little endian. */ +#if __BYTE_ORDER == __BIG_ENDIAN + unsigned int:16; + unsigned int __w_stopsig:8; /* Stopping signal. */ + unsigned int __w_stopval:8; /* W_STOPPED if stopped. */ +#endif /* Big endian. */ + } __wait_stopped; + }; + +#define w_termsig __wait_terminated.__w_termsig +#define w_coredump __wait_terminated.__w_coredump +#define w_retcode __wait_terminated.__w_retcode +#define w_stopsig __wait_stopped.__w_stopsig +#define w_stopval __wait_stopped.__w_stopval + +#endif /* Use BSD. */ diff --git a/catgets/nl_types.h b/catgets/nl_types.h index 40fb965508..bf07fcd1e4 100644 --- a/catgets/nl_types.h +++ b/catgets/nl_types.h @@ -18,6 +18,7 @@ #ifndef _NL_TYPES_H #define _NL_TYPES_H 1 + #include /* The default message set used by the gencat program. */ diff --git a/config.h.in b/config.h.in index 2b9ca028af..390b228529 100644 --- a/config.h.in +++ b/config.h.in @@ -46,6 +46,9 @@ /* Define if versioning of the library is wanted. */ #undef DO_VERSIONING +/* Define if static NSS modules are wanted. */ +#undef DO_STATIC_NSS + /* */ diff --git a/config.make.in b/config.make.in index e807a4cba2..2bf33b487f 100644 --- a/config.make.in +++ b/config.make.in @@ -40,6 +40,7 @@ build-shared = @shared@ build-profile = @profile@ build-omitfp = @omitfp@ build-bounded = @bounded@ +build-static-nss = @static_nss@ stdio = @stdio@ add-ons = @subdirs@ cross-compiling = @cross_compiling@ diff --git a/configure b/configure index 3d8b4a224c..13545165ad 100755 --- a/configure +++ b/configure @@ -45,6 +45,8 @@ ac_help="$ac_help --enable-bounded build with runtime bounds checking [default=no]" ac_help="$ac_help --enable-add-ons=DIR... configure and build named extra directories" +ac_help="$ac_help + --enable-static-nss build static NSS modules [default=no]" # Initialize some variables set by options. # The variables have the same names as the options, with @@ -484,7 +486,7 @@ echo > confdefs.h # A filename unique to this package, relative to the directory that # configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=features.h +ac_unique_file=include/features.h # Find the source files, if location was not specified. if test -z "$srcdir"; then @@ -727,6 +729,21 @@ if test x"$add_ons" != x; then done fi +# Check whether --enable-static-nss or --disable-static-nss was given. +if test "${enable_static_nss+set}" = set; then + enableval="$enable_static_nss" + static_nss=$enableval +else + static_nss=no +fi + +if test x"$static_nss" = xyes; then + cat >> confdefs.h <<\EOF +#define DO_STATIC_NSS 1 +EOF + +fi + # Make sure we can run config.sub. if $ac_config_sub sun4 >/dev/null 2>&1; then : @@ -734,7 +751,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:738: checking host system type" >&5 +echo "configure:755: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -816,7 +833,7 @@ esac # This can take a while to compute. sysdep_dir=$srcdir/sysdeps echo $ac_n "checking sysdep dirs""... $ac_c" 1>&6 -echo "configure:820: checking sysdep dirs" >&5 +echo "configure:837: checking sysdep dirs" >&5 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1. os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`" @@ -998,10 +1015,10 @@ while test $# -gt 0; do done # Add the default directories. -sysnames="$names sysdeps/generic sysdeps/stub" +sysnames="$names sysdeps/generic sysdeps/stub include" # The other names were emitted during the scan. -echo "$ac_t""sysdeps/generic sysdeps/stub" 1>&6 +echo "$ac_t""sysdeps/generic sysdeps/stub include" 1>&6 ### Locate tools. @@ -1017,7 +1034,7 @@ echo "$ac_t""sysdeps/generic sysdeps/stub" 1>&6 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:1021: checking for a BSD compatible install" >&5 +echo "configure:1038: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1071,7 +1088,7 @@ if test "$INSTALL" = "${srcdir}/install-sh -c"; then INSTALL='$(..)./install-sh -c' fi echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1075: checking whether ln -s works" >&5 +echo "configure:1092: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1096,7 +1113,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1100: checking for $ac_word" >&5 +echo "configure:1117: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1129,7 +1146,7 @@ test -n "$MSGFMT" || MSGFMT=":" # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1133: checking for $ac_word" >&5 +echo "configure:1150: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1158,7 +1175,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1162: checking for $ac_word" >&5 +echo "configure:1179: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1206,7 +1223,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1210: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1227: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1216,11 +1233,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1243,13 +1260,13 @@ else cross_linkable=yes fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1247: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1264: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1253: checking whether we are using GNU C" >&5 +echo "configure:1270: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1258,7 +1275,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1275,7 +1292,7 @@ if test $ac_cv_prog_gcc = yes; then yes; #endif EOF - if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then if test -z "$CFLAGS"; then CFLAGS="-g -O2" fi @@ -1287,7 +1304,7 @@ else fi echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:1291: checking build system type" >&5 +echo "configure:1308: checking build system type" >&5 build_alias=$build case "$build_alias" in @@ -1310,7 +1327,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1314: checking for $ac_word" >&5 +echo "configure:1331: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_BUILD_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1341,7 +1358,7 @@ done fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1345: checking how to run the C preprocessor" >&5 +echo "configure:1362: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1356,13 +1373,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1373,13 +1390,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1410,7 +1427,7 @@ fi # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1414: checking for $ac_word" >&5 +echo "configure:1431: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1441,7 +1458,7 @@ fi # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1445: checking for $ac_word" >&5 +echo "configure:1462: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1472,7 +1489,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1476: checking for $ac_word" >&5 +echo "configure:1493: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1507,7 +1524,7 @@ fi # Extract the first word of "bash", so it can be a program name with args. set dummy bash; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1511: checking for $ac_word" >&5 +echo "configure:1528: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1548,7 +1565,7 @@ if test "$BASH" = no; then # Extract the first word of "ksh", so it can be a program name with args. set dummy ksh; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1552: checking for $ac_word" >&5 +echo "configure:1569: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1590,7 +1607,7 @@ fi echo $ac_n "checking for signed size_t type""... $ac_c" 1>&6 -echo "configure:1594: checking for signed size_t type" >&5 +echo "configure:1611: checking for signed size_t type" >&5 if eval "test \"`echo '$''{'libc_cv_signed_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1614,12 +1631,12 @@ EOF fi echo $ac_n "checking for libc-friendly stddef.h""... $ac_c" 1>&6 -echo "configure:1618: checking for libc-friendly stddef.h" >&5 +echo "configure:1635: checking for libc-friendly stddef.h" >&5 if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* libc_cv_friendly_stddef=yes else @@ -1653,7 +1670,7 @@ override stddef.h = # The installed seems to be libc-friendly." fi echo $ac_n "checking whether we need to use -P to assemble .S files""... $ac_c" 1>&6 -echo "configure:1657: checking whether we need to use -P to assemble .S files" >&5 +echo "configure:1674: checking whether we need to use -P to assemble .S files" >&5 if eval "test \"`echo '$''{'libc_cv_need_minus_P'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1676,7 +1693,7 @@ asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives." fi echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&6 -echo "configure:1680: checking for assembler global-symbol directive" >&5 +echo "configure:1697: checking for assembler global-symbol directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1706,7 +1723,7 @@ EOF fi echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&6 -echo "configure:1710: checking for .set assembler directive" >&5 +echo "configure:1727: checking for .set assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1740,7 +1757,7 @@ EOF fi echo $ac_n "checking for .symver assembler directive""... $ac_c" 1>&6 -echo "configure:1744: checking for .symver assembler directive" >&5 +echo "configure:1761: checking for .symver assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_symver_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1759,7 +1776,7 @@ fi echo "$ac_t""$libc_cv_asm_symver_directive" 1>&6 echo $ac_n "checking for ld --version-script""... $ac_c" 1>&6 -echo "configure:1763: checking for ld --version-script" >&5 +echo "configure:1780: checking for ld --version-script" >&5 if eval "test \"`echo '$''{'libc_cv_ld_version_script_option'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1776,7 +1793,7 @@ VERS { EOF if ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.s 1>&5 2>&5; then if { ac_try='${CC-cc} $CFLAGS --shared -o conftest.so conftest.o - -Wl,--version-script,conftest.map'; { (eval echo configure:1780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; + -Wl,--version-script,conftest.map'; { (eval echo configure:1797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_ld_version_script_option=yes else @@ -1806,7 +1823,7 @@ fi if test $elf = yes; then echo $ac_n "checking for .previous assembler directive""... $ac_c" 1>&6 -echo "configure:1810: checking for .previous assembler directive" >&5 +echo "configure:1827: checking for .previous assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_previous_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1814,7 +1831,7 @@ else .section foo_section .previous EOF - if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_asm_previous_directive=yes else libc_cv_asm_previous_directive=no @@ -1830,7 +1847,7 @@ EOF else echo $ac_n "checking for .popsection assembler directive""... $ac_c" 1>&6 -echo "configure:1834: checking for .popsection assembler directive" >&5 +echo "configure:1851: checking for .popsection assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_popsection_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1838,7 +1855,7 @@ else .pushsection foo_section .popsection EOF - if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_asm_popsection_directive=yes else libc_cv_asm_popsection_directive=no @@ -1858,12 +1875,12 @@ fi if test $elf != yes; then echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&6 -echo "configure:1862: checking for .init and .fini sections" >&5 +echo "configure:1879: checking for .init and .fini sections" >&5 if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* libc_cv_have_initfini=yes else @@ -1897,19 +1914,19 @@ if test $elf = yes; then libc_cv_asm_underscores=no else echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6 -echo "configure:1901: checking for _ prefix on C symbol names" >&5 +echo "configure:1918: checking for _ prefix on C symbol names" >&5 if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* libc_cv_asm_underscores=yes else @@ -1936,7 +1953,7 @@ if test $elf = yes; then libc_cv_asm_weakext_directive=no else echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&6 -echo "configure:1940: checking for assembler .weak directive" >&5 +echo "configure:1957: checking for assembler .weak directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_weak_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1959,7 +1976,7 @@ echo "$ac_t""$libc_cv_asm_weak_directive" 1>&6 if test $libc_cv_asm_weak_directive = no; then echo $ac_n "checking for assembler .weakext directive""... $ac_c" 1>&6 -echo "configure:1963: checking for assembler .weakext directive" >&5 +echo "configure:1980: checking for assembler .weakext directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_weakext_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1996,7 +2013,7 @@ EOF fi echo $ac_n "checking for ld --no-whole-archive""... $ac_c" 1>&6 -echo "configure:2000: checking for ld --no-whole-archive" >&5 +echo "configure:2017: checking for ld --no-whole-archive" >&5 if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2007,7 +2024,7 @@ __throw () {} EOF if { ac_try='${CC-cc} $CFLAGS -nostdlib -nostartfiles -Wl,--no-whole-archive - -o conftest conftest.c'; { (eval echo configure:2011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + -o conftest conftest.c'; { (eval echo configure:2028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_ld_no_whole_archive=yes else libc_cv_ld_no_whole_archive=no @@ -2018,7 +2035,7 @@ fi echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6 echo $ac_n "checking for gcc -fno-exceptions""... $ac_c" 1>&6 -echo "configure:2022: checking for gcc -fno-exceptions" >&5 +echo "configure:2039: checking for gcc -fno-exceptions" >&5 if eval "test \"`echo '$''{'libc_cv_gcc_no_exceptions'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2029,7 +2046,7 @@ __throw () {} EOF if { ac_try='${CC-cc} $CFLAGS -nostdlib -nostartfiles -fno-exceptions - -o conftest conftest.c'; { (eval echo configure:2033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + -o conftest conftest.c'; { (eval echo configure:2050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_gcc_no_exceptions=yes else libc_cv_gcc_no_exceptions=no @@ -2081,7 +2098,7 @@ if test "$uname" = "sysdeps/generic"; then fi echo $ac_n "checking OS release for uname""... $ac_c" 1>&6 -echo "configure:2085: checking OS release for uname" >&5 +echo "configure:2102: checking OS release for uname" >&5 if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2103,7 +2120,7 @@ echo "$ac_t""$libc_cv_uname_release" 1>&6 uname_release="$libc_cv_uname_release" echo $ac_n "checking OS version for uname""... $ac_c" 1>&6 -echo "configure:2107: checking OS version for uname" >&5 +echo "configure:2124: checking OS version for uname" >&5 if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2125,7 +2142,7 @@ else fi echo $ac_n "checking stdio selection""... $ac_c" 1>&6 -echo "configure:2129: checking stdio selection" >&5 +echo "configure:2146: checking stdio selection" >&5 case $stdio in libio) cat >> confdefs.h <<\EOF @@ -2178,6 +2195,7 @@ fi + if test "`(cd $srcdir; pwd)`" = "`pwd`"; then config_makefile= else @@ -2365,6 +2383,7 @@ s%@shared@%$shared%g s%@profile@%$profile%g s%@omitfp@%$omitfp%g s%@bounded@%$bounded%g +s%@static_nss@%$static_nss%g s%@DEFINES@%$DEFINES%g s%@VERSION@%$VERSION%g @@ -2621,7 +2640,7 @@ while test -n "$ac_sources"; do done EOF cat >> $CONFIG_STATUS <> config.make +echo '$config_vars' >> config.make; test -d bits || mkdir bits EOF cat >> $CONFIG_STATUS <<\EOF diff --git a/configure.in b/configure.in index 667ac7e0c2..150843c54b 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ Dnl Process this file with autoconf to produce a configure script. AC_REVISION([$CVSid$]) AC_PREREQ(2.11)dnl dnl Minimum Autoconf version required. -AC_INIT(features.h) +AC_INIT(include/features.h) AC_CONFIG_HEADER(config.h) # This will get text that should go into config.make. @@ -92,6 +92,15 @@ if test x"$add_ons" != x; then done fi +dnl On some platforms we cannot use dynamic loading. We must provide +dnl static NSS modules. +AC_ARG_ENABLE(static-nss, dnl +[ --enable-static-nss build static NSS modules [default=no]], + static_nss=$enableval, static_nss=no) +if test x"$static_nss" = xyes; then + AC_DEFINE(DO_STATIC_NSS) +fi + AC_CANONICAL_HOST # The way shlib-versions is used to generate soversions.mk uses a @@ -345,10 +354,10 @@ changequote([,])dnl done # Add the default directories. -sysnames="$names sysdeps/generic sysdeps/stub" +sysnames="$names sysdeps/generic sysdeps/stub include" AC_SUBST(sysnames) # The other names were emitted during the scan. -AC_MSG_RESULT(sysdeps/generic sysdeps/stub) +AC_MSG_RESULT(sysdeps/generic sysdeps/stub include) ### Locate tools. @@ -811,6 +820,7 @@ fi AC_SUBST(profile) AC_SUBST(omitfp) AC_SUBST(bounded) +AC_SUBST(static_nss) AC_SUBST(DEFINES) @@ -823,5 +833,5 @@ fi VERSION=`sed -e 's/^#define VERSION "\([^"]*\)"/\1/p' -e d < $srcdir/version.h` AC_SUBST(VERSION) -AC_OUTPUT(config.make glibcbug ${config_makefile} ${config_uname}, , + [echo '$config_vars' >> config.make; test -d bits || mkdir bits]) [echo '$config_vars' >> config.make]) diff --git a/csu/Makefile b/csu/Makefile index 5888d1098e..c13ec1ec88 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -59,11 +59,11 @@ omit-deps += $(crtstuff) # Special rules for the building of crti.o and crtn.o $(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h - $(CC) -c -fPIC -g0 -I$(..) -I$(common-objpfx) -DASSEMBLER $< -o $@ + $(compile.S) -fPIC -g0 -o $@ $(objpfx)initfini.s: initfini.c - $(CC) $(CPPFLAGS) $(CFLAGS) -g0 -S -fPIC -finhibit-size-directive \ - $(no-exceptions) $< -o $@ + $(compile.c) -g0 -S -fPIC -finhibit-size-directive \ + $(no-exceptions) -o $@ $(objpfx)crti.S: $(objpfx)initfini.s sed -n -e '1,/@HEADER_ENDS/p' \ diff --git a/ctype.h b/ctype.h deleted file mode 100644 index 7b51e1f5eb..0000000000 --- a/ctype.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/ctype/ctype-info.c b/ctype/ctype-info.c index a7688f7d00..30b1cce6ff 100644 --- a/ctype/ctype-info.c +++ b/ctype/ctype-info.c @@ -17,7 +17,7 @@ Boston, MA 02111-1307, USA. */ #include -#include "../locale/localeinfo.h" +#include /* Defined in locale/C-ctype.c. */ extern const char _nl_C_LC_CTYPE_class[]; @@ -30,8 +30,8 @@ extern const char _nl_C_LC_CTYPE_width[]; #define b(t,x,o) (((const t *) _nl_C_LC_CTYPE_##x) + o); const unsigned short int *__ctype_b = b (unsigned short int, class, 128); -const unsigned int *__ctype32_b = b (unsigned int, class32, 0); -const int *__ctype_tolower = b (int, tolower, 128); -const int *__ctype_toupper = b (int, toupper, 128); -const unsigned int *__ctype_names = b (unsigned int, names, 0); +const __uint32_t *__ctype32_b = b (__uint32_t, class32, 0); +const __int32_t *__ctype_tolower = b (__int32_t, tolower, 128); +const __int32_t *__ctype_toupper = b (__int32_t, toupper, 128); +const __uint32_t *__ctype_names = b (__uint32_t, names, 0); const unsigned char *__ctype_width = b (unsigned char, width, 0); diff --git a/ctype/ctype.h b/ctype/ctype.h index bd128445bc..22b17c1ed7 100644 --- a/ctype/ctype.h +++ b/ctype/ctype.h @@ -21,9 +21,10 @@ */ #ifndef _CTYPE_H - #define _CTYPE_H 1 + #include +#include __BEGIN_DECLS @@ -72,8 +73,8 @@ enum doesn't fit into an `unsigned char'. But today more important is that the arrays are also used for multi-byte character sets. */ extern __const unsigned short int *__ctype_b; /* Characteristics. */ -extern __const int *__ctype_tolower; /* Case conversions. */ -extern __const int *__ctype_toupper; /* Case conversions. */ +extern __const __int32_t *__ctype_tolower; /* Case conversions. */ +extern __const __int32_t *__ctype_toupper; /* Case conversions. */ #define __isctype(c, type) \ (__ctype_b[(int) (c)] & (unsigned short int) type) diff --git a/db.h b/db.h deleted file mode 100644 index a04f7746ef..0000000000 --- a/db.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/db/db.h b/db/db.h index 8f1a9de9e2..f00c4df9f9 100644 --- a/db/db.h +++ b/db/db.h @@ -33,8 +33,8 @@ * @(#)db.h 8.7 (Berkeley) 6/16/94 */ -#ifndef _DB_H_ -#define _DB_H_ +#ifndef _DB_H +#define _DB_H 1 #include #include @@ -234,4 +234,5 @@ DB *__rec_open __P((const char *, int, int, const RECNOINFO *, int)); void __dbpanic __P((DB *dbp)); #endif __END_DECLS -#endif /* !_DB_H_ */ + +#endif /* db.h */ diff --git a/db/mpool.h b/db/mpool.h index e533072a65..56f17f90db 100644 --- a/db/mpool.h +++ b/db/mpool.h @@ -33,6 +33,9 @@ * @(#)mpool.h 8.2 (Berkeley) 7/14/94 */ +#ifndef _MPOOL_H +#define _MPOOL_H 1 + #include /* @@ -105,3 +108,5 @@ int mpool_close __P((MPOOL *)); void mpool_stat __P((MPOOL *)); #endif __END_DECLS + +#endif /* mpool.h */ diff --git a/db/ndbm.h b/db/ndbm.h index 48c4083a2b..db14dff2ed 100644 --- a/db/ndbm.h +++ b/db/ndbm.h @@ -36,8 +36,8 @@ * @(#)ndbm.h 8.1 (Berkeley) 6/2/93 */ -#ifndef _NDBM_H_ -#define _NDBM_H_ +#ifndef _NDBM_H +#define _NDBM_H 1 #include @@ -76,4 +76,4 @@ int dbm_error __P((DBM *)); int dbm_clearerr __P((DBM *)); __END_DECLS -#endif /* !_NDBM_H_ */ +#endif /* ndbm.h */ diff --git a/dirent.h b/dirent.h deleted file mode 100644 index f59a6b778b..0000000000 --- a/dirent.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/dirent/Makefile b/dirent/Makefile index 4b64498d28..a7f3553df0 100644 --- a/dirent/Makefile +++ b/dirent/Makefile @@ -21,7 +21,7 @@ # subdir := dirent -headers := dirent.h direntry.h +headers := dirent.h bits/dirent.h routines := opendir closedir readdir readdir_r rewinddir \ seekdir telldir scandir alphasort versionsort \ getdents dirfd diff --git a/dirent/dirent.h b/dirent/dirent.h index 9caf272aa1..a9a9a39e97 100644 --- a/dirent/dirent.h +++ b/dirent/dirent.h @@ -21,13 +21,13 @@ */ #ifndef _DIRENT_H - #define _DIRENT_H 1 + #include __BEGIN_DECLS -#include +#include /* This file defines `struct dirent'. @@ -44,7 +44,7 @@ __BEGIN_DECLS member that gives the type of the file. */ -#include +#include #if (defined __USE_BSD || defined __USE_MISC) && !defined d_fileno # define d_ino d_fileno /* Backward compatibility. */ @@ -142,7 +142,7 @@ extern int dirfd __P ((DIR *__dirp)); # ifndef MAXNAMLEN /* Get the definitions of the POSIX.1 limits. */ -# include +# include /* `MAXNAMLEN' is the BSD name for what POSIX calls `NAME_MAX'. */ # ifdef NAME_MAX @@ -152,7 +152,7 @@ extern int dirfd __P ((DIR *__dirp)); # endif # endif -# include +# include # define __need_size_t # include diff --git a/dlfcn.h b/dlfcn.h deleted file mode 100644 index 92804a1c1c..0000000000 --- a/dlfcn.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/elf.h b/elf.h deleted file mode 100644 index 8a1764f956..0000000000 --- a/elf.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/elf/Makefile b/elf/Makefile index 489a565945..ef9207c07b 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -20,7 +20,7 @@ subdir := elf -headers = elf.h elfclass.h link.h dlfcn.h +headers = elf.h bits/elfclass.h link.h dlfcn.h routines = $(dl-routines) dl-open dl-close dl-symbol dl-support \ dl-version enbl-secure diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c index f2ce4c9c3c..15da23d95c 100644 --- a/elf/dl-lookup.c +++ b/elf/dl-lookup.c @@ -83,6 +83,11 @@ do_lookup (const char *undef_name, unsigned long int hash, if (skip != NULL && map == skip) continue; + /* Skip objects that could not be opened, which can occur in trace + mode. */ + if (map->l_opencount == 0) + continue; + /* Don't search the executable when resolving a copy reloc. */ if (elf_machine_lookup_noexec_p (reloc_type) && map->l_type == lt_executable) @@ -285,7 +290,7 @@ _dl_lookup_versioned_symbol (const char *undef_name, const ElfW(Sym) **ref, if (res < 0) /* Oh, oh. The file named in the relocation entry does not contain the needed symbol. */ - _dl_signal_error (0, *reference_name ? reference_name : NULL, + _dl_signal_error (0, reference_name, make_string ("symbol ", undef_name, ", version ", version->name, " not defined in file ", diff --git a/elf/dlfcn.h b/elf/dlfcn.h index 94e1fae8a4..9b06988e96 100644 --- a/elf/dlfcn.h +++ b/elf/dlfcn.h @@ -18,8 +18,8 @@ Boston, MA 02111-1307, USA. */ #ifndef _DLFCN_H - #define _DLFCN_H 1 + #include /* The MODE argument to `dlopen' contains one of the following: */ diff --git a/elf/elf.h b/elf/elf.h index 76f6c6865d..63d36b141c 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -19,46 +19,47 @@ Boston, MA 02111-1307, USA. */ #ifndef _ELF_H - #define _ELF_H 1 + #include __BEGIN_DECLS -/* Standard ELF types. Using __attribute__ mode ensures that GCC - will choose the right number of bits for these types. */ +/* Standard ELF types. */ + +#include /* Type for a 16-bit quantity. */ -typedef unsigned int Elf32_Half __attribute__ ((mode (HI))); -typedef unsigned int Elf64_Half __attribute__ ((mode (HI))); +typedef uint16_t Elf32_Half; +typedef uint16_t Elf64_Half; /* Types for signed and unsigned 32-bit quantities. */ -typedef unsigned int Elf32_Word __attribute__ ((mode (SI))); -typedef int Elf32_Sword __attribute__ ((mode (SI))); -typedef unsigned int Elf64_Word __attribute__ ((mode (SI))); -typedef int Elf64_Sword __attribute__ ((mode (SI))); +typedef uint32_t Elf32_Word; +typedef int32_t Elf32_Sword; +typedef uint32_t Elf64_Word; +typedef int32_t Elf64_Sword; /* Types for signed and unsigned 64-bit quantities. */ -typedef unsigned int Elf32_Xword __attribute__ ((mode (DI))); -typedef int Elf32_Sxword __attribute__ ((mode (DI))); -typedef unsigned int Elf64_Xword __attribute__ ((mode (DI))); -typedef int Elf64_Sxword __attribute__ ((mode (DI))); +typedef uint64_t Elf32_Xword; +typedef int64_t Elf32_Sxword; +typedef uint64_t Elf64_Xword; +typedef int64_t Elf64_Sxword; /* Type of addresses. */ -typedef unsigned int Elf32_Addr __attribute__ ((mode (SI))); -typedef unsigned int Elf64_Addr __attribute__ ((mode (DI))); +typedef uint32_t Elf32_Addr; +typedef uint64_t Elf64_Addr; /* Type of file offsets. */ -typedef unsigned int Elf32_Off __attribute__ ((mode (SI))); -typedef unsigned int Elf64_Off __attribute__ ((mode (DI))); +typedef uint32_t Elf32_Off; +typedef uint64_t Elf64_Off; /* Type for section indices, which are 16-bit quantities. */ -typedef unsigned int Elf32_Section __attribute__ ((mode (HI))); -typedef unsigned int Elf64_Section __attribute__ ((mode (HI))); +typedef uint16_t Elf32_Section; +typedef uint16_t Elf64_Section; /* Type of symbol indices. */ -typedef unsigned int Elf32_Symndx __attribute__ ((mode (SI))); -typedef unsigned int Elf64_Symndx __attribute__ ((mode (DI))); +typedef uint32_t Elf32_Symndx; +typedef uint64_t Elf64_Symndx; /* The ELF file header. This appears at the start of every ELF file. */ diff --git a/elf/eval.c b/elf/eval.c index 7d53671f6c..ce452b722c 100644 --- a/elf/eval.c +++ b/elf/eval.c @@ -1,5 +1,5 @@ /* You don't really want to know what this hack is for. - Copyright (C) 1996 Free Software Foundation, Inc. + 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 @@ -128,7 +128,7 @@ _start (void) char *buf = NULL; size_t bufsz = 0; - while (__getline (&buf, &bufsz, stdin) > 0) + while (__getdelim (&buf, &bufsz, '\n', stdin) > 0) { char *p = buf; eval (&p); diff --git a/elf/link.h b/elf/link.h index c894540e5e..6c272fe054 100644 --- a/elf/link.h +++ b/elf/link.h @@ -18,8 +18,8 @@ Boston, MA 02111-1307, USA. */ #ifndef _LINK_H - #define _LINK_H 1 + #include #define __need_size_t @@ -36,7 +36,8 @@ __BEGIN_DECLS #define ELFW(type) _ElfW (ELF, __ELF_NATIVE_CLASS, type) #define _ElfW(e,w,t) _ElfW_1 (e, w, _##t) #define _ElfW_1(e,w,t) e##w##t -#include /* Defines __ELF_NATIVE_CLASS. */ + +#include /* Defines __ELF_NATIVE_CLASS. */ /* Rendezvous structure used by the run-time dynamic linker to communicate details of shared object loading to the debugger. If the executable's diff --git a/endian.h b/endian.h deleted file mode 100644 index cacf2fe9b7..0000000000 --- a/endian.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/envz.h b/envz.h deleted file mode 100644 index 0a476ed62a..0000000000 --- a/envz.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/err.h b/err.h deleted file mode 100644 index 915720aa4c..0000000000 --- a/err.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/errno.h b/errno.h deleted file mode 100644 index b8486728b7..0000000000 --- a/errno.h +++ /dev/null @@ -1,73 +0,0 @@ -/* 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 - */ - -#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 -#endif - -__BEGIN_DECLS - -/* Get the error number constants from the system-specific file. - This file will test __need_Emath and _ERRNO_H. */ -#include -#undef __need_Emath - -#ifdef _ERRNO_H - -/* Declare the `errno' variable, unless it's defined as a macro by - errnos.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 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/error.h b/error.h deleted file mode 100644 index 70f3192fa6..0000000000 --- a/error.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/fcntl.h b/fcntl.h deleted file mode 100644 index bac1e8685d..0000000000 --- a/fcntl.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/features.h b/features.h deleted file mode 100644 index c38480e637..0000000000 --- a/features.h +++ /dev/null @@ -1,236 +0,0 @@ -/* 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 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 -#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. - contains `#define __stub_FUNCTION' when FUNCTION is a stub - which will always return failure (and set errno to ENOSYS). - - We avoid including 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 -#endif - -#endif /* features.h */ diff --git a/fnmatch.h b/fnmatch.h deleted file mode 100644 index b12b786df0..0000000000 --- a/fnmatch.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/ftw.h b/ftw.h deleted file mode 100644 index 4fb654cf22..0000000000 --- a/ftw.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/getopt.h b/getopt.h deleted file mode 100644 index 74ca6d453a..0000000000 --- a/getopt.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/glob.h b/glob.h deleted file mode 100644 index ce047bb177..0000000000 --- a/glob.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/gmon/sys/gmon.h b/gmon/sys/gmon.h index d963797cd2..2eff69b01c 100644 --- a/gmon/sys/gmon.h +++ b/gmon/sys/gmon.h @@ -33,9 +33,9 @@ * @(#)gmon.h 8.2 (Berkeley) 1/4/94 */ -#ifndef _SYS_GMON_H_ +#ifndef _SYS_GMON_H +#define _SYS_GMON_H 1 -#define _SYS_GMON_H_ 1 #include #include @@ -176,4 +176,4 @@ void _mcleanup __P ((void)); __END_DECLS -#endif /* !_SYS_GMON_H_ */ +#endif /* sys/gmon.h */ diff --git a/gmon/sys/gmon_out.h b/gmon/sys/gmon_out.h index 36059cc572..bb80a1a16f 100644 --- a/gmon/sys/gmon_out.h +++ b/gmon/sys/gmon_out.h @@ -26,8 +26,8 @@ identifying the type of records, followed by records specific data. */ #ifndef _SYS_GMON_OUT_H - #define _SYS_GMON_OUT_H 1 + #include #define GMON_MAGIC "gmon" /* magic cookie */ @@ -74,4 +74,4 @@ struct gmon_cg_arc_record __END_DECLS -#endif /* _SYS_GMON_OUT_H */ +#endif /* sys/gmon_out.h */ diff --git a/gnu-versions.h b/gnu-versions.h deleted file mode 100644 index 7085895a0a..0000000000 --- a/gnu-versions.h +++ /dev/null @@ -1,53 +0,0 @@ -/* 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 - #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/grp.h b/grp.h deleted file mode 100644 index 250092cbf1..0000000000 --- a/grp.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/grp/fgetgrent.c b/grp/fgetgrent.c index 0b461ad5fe..24fdcd86d9 100644 --- a/grp/fgetgrent.c +++ b/grp/fgetgrent.c @@ -18,7 +18,7 @@ #include #include -#include +#include #include diff --git a/grp/grp.h b/grp/grp.h index 292bd26ec0..72b8925a8c 100644 --- a/grp/grp.h +++ b/grp/grp.h @@ -21,13 +21,13 @@ */ #ifndef _GRP_H - #define _GRP_H 1 + #include __BEGIN_DECLS -#include +#include #define __need_size_t #include diff --git a/hurd/hurd/ioctl.h b/hurd/hurd/ioctl.h index 8c6dbfd0be..b18f8a1586 100644 --- a/hurd/hurd/ioctl.h +++ b/hurd/hurd/ioctl.h @@ -22,7 +22,7 @@ #define __need___va_list #include -#include +#include /* Type of handler function, called like ioctl to do its entire job. */ diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c index 533099223a..eb7adbef66 100644 --- a/hurd/intr-msg.c +++ b/hurd/intr-msg.c @@ -132,8 +132,8 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg, int i; } check = { t: { - MACH_MSG_TYPE_INTEGER_32, - 32, + MACH_MSG_TYPE_INTEGER_T, + MACH_MSG_TYPE_INTEGER_T, 1, TRUE, FALSE, 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 instead. + */ + +/* Additional definitions from X/Open Portability Guide, Issue 4, Version 2 + System Interfaces and Headers, 4.16 + + 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 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 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 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 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 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 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 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 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 + */ + +#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 +#endif + +__BEGIN_DECLS + +/* Get the error number constants from the system-specific file. + This file will test __need_Emath and _ERRNO_H. */ +#include +#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 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 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 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 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 +#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. + contains `#define __stub_FUNCTION' when FUNCTION is a stub + which will always return failure (and set errno to ENOSYS). + + We avoid including 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 +#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 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 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 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 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 + #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 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 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 +/* + +*/ + +#ifndef ASSEMBLER + +/* Define the macros `_' and `N_' for conveniently marking translatable + strings in the libc source code. */ + +#define N_(msgid) msgid + +#include +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 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 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 + */ + +#include + +#ifdef __USE_POSIX +/* POSIX adds things to . */ +# include +#endif + +#ifdef __USE_POSIX2 +# include +#endif + +#ifdef __USE_XOPEN +# include +#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 + #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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 +#include + +/* 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 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 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 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 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 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 +#else +#include +#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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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