diff options
Diffstat (limited to 'sysdeps')
88 files changed, 182 insertions, 674 deletions
diff --git a/sysdeps/generic/getdomain.c b/sysdeps/generic/getdomain.c index 0d675d6..e1728db 100644 --- a/sysdeps/generic/getdomain.c +++ b/sysdeps/generic/getdomain.c @@ -19,6 +19,7 @@ Cambridge, MA 02139, USA. */ #include <errno.h> #include <unistd.h> #include <sys/utsname.h> +#include <string.h> #if _UTSNAME_DOMAIN_LENGTH /* The `uname' information includes the domain name. */ diff --git a/sysdeps/posix/truncate.c b/sysdeps/posix/truncate.c index 9fe0d86..4f4c07e 100644 --- a/sysdeps/posix/truncate.c +++ b/sysdeps/posix/truncate.c @@ -20,6 +20,7 @@ Cambridge, MA 02139, USA. */ #include <sys/types.h> #include <errno.h> #include <unistd.h> +#include <fcntl.h> /* Truncate PATH to LENGTH bytes. */ int diff --git a/sysdeps/stub/__longjmp.c b/sysdeps/stub/__longjmp.c index 3cc4c4b..d7f38f9 100644 --- a/sysdeps/stub/__longjmp.c +++ b/sysdeps/stub/__longjmp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1994 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1994, 1995 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 @@ -34,11 +34,4 @@ DEFUN(__longjmp, (env, val), CONST __jmp_buf env AND int val) /* No way to signal failure. */ } - -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(longjmp); - -#endif /* GNU stabs. */ +stub_warning (longjmp) diff --git a/sysdeps/stub/_exit.c b/sysdeps/stub/_exit.c index d72a430..4b2c59a 100644 --- a/sysdeps/stub/_exit.c +++ b/sysdeps/stub/_exit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1994 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1994, 1995 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 @@ -31,10 +31,4 @@ DEFUN(_exit, (status), int status) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(_exit); - -#endif /* GNU stabs. */ +stub_warning (_exit) diff --git a/sysdeps/stub/accept.c b/sysdeps/stub/accept.c index d3a30c2..429f2aa 100644 --- a/sysdeps/stub/accept.c +++ b/sysdeps/stub/accept.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -34,10 +34,4 @@ DEFUN(accept, (fd, addr, addr_len), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(accept); - -#endif /* GNU stabs. */ +stub_warning (accept) diff --git a/sysdeps/stub/acos.c b/sysdeps/stub/acos.c index 2ba05b55..6684ce0 100644 --- a/sysdeps/stub/acos.c +++ b/sysdeps/stub/acos.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(acos, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(acos); - -#endif /* GNU stabs. */ +stub_warning (acos) diff --git a/sysdeps/stub/alarm.c b/sysdeps/stub/alarm.c index 861d624..78cf673 100644 --- a/sysdeps/stub/alarm.c +++ b/sysdeps/stub/alarm.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -35,10 +35,4 @@ DEFUN(alarm, (seconds), unsigned int seconds) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(alarm); - -#endif /* GNU stabs. */ +stub_warning (alarm) diff --git a/sysdeps/stub/asin.c b/sysdeps/stub/asin.c index e645d48..0d4ee06 100644 --- a/sysdeps/stub/asin.c +++ b/sysdeps/stub/asin.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(asin, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(asin); - -#endif /* GNU stabs. */ +stub_warning (asin) diff --git a/sysdeps/stub/atan2.c b/sysdeps/stub/atan2.c index c6ed43f..cc7a0ee 100644 --- a/sysdeps/stub/atan2.c +++ b/sysdeps/stub/atan2.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -28,10 +28,4 @@ DEFUN(atan2, (y, x), double y AND double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(atan2); - -#endif /* GNU stabs. */ +stub_warning (atan2) diff --git a/sysdeps/stub/bind.c b/sysdeps/stub/bind.c index 8ee5023..9a744ef 100644 --- a/sysdeps/stub/bind.c +++ b/sysdeps/stub/bind.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,10 +30,4 @@ DEFUN(bind, (fd, addr, len), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(bind); - -#endif /* GNU stabs. */ +stub_warning (bind) diff --git a/sysdeps/stub/cbrt.c b/sysdeps/stub/cbrt.c index 8835bea..a330b05 100644 --- a/sysdeps/stub/cbrt.c +++ b/sysdeps/stub/cbrt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1995 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 @@ -29,10 +29,4 @@ DEFUN(cbrt, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(cbrt); - -#endif /* GNU stabs. */ +stub_warning (cbrt) diff --git a/sysdeps/stub/chroot.c b/sysdeps/stub/chroot.c index 637784a..a18d349 100644 --- a/sysdeps/stub/chroot.c +++ b/sysdeps/stub/chroot.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,10 +30,4 @@ DEFUN(chroot, (path), CONST char *path) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(chroot); - -#endif /* GNU stabs. */ +stub_warning (chroot) diff --git a/sysdeps/stub/closedir.c b/sysdeps/stub/closedir.c index 4595d47..fbc1ebe 100644 --- a/sysdeps/stub/closedir.c +++ b/sysdeps/stub/closedir.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -32,10 +32,4 @@ DEFUN(closedir, (dirp), DIR *dirp) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(closedir); - -#endif /* GNU stabs. */ +stub_warning (closedir) diff --git a/sysdeps/stub/connect.c b/sysdeps/stub/connect.c index 5fae8dd..8e6c724 100644 --- a/sysdeps/stub/connect.c +++ b/sysdeps/stub/connect.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -33,10 +33,4 @@ DEFUN(connect, (fd, addr, len), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(connect); - -#endif /* GNU stabs. */ +stub_warning (connect) diff --git a/sysdeps/stub/cos.c b/sysdeps/stub/cos.c index 675855c..81cf1b6 100644 --- a/sysdeps/stub/cos.c +++ b/sysdeps/stub/cos.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(cos, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(cos); - -#endif /* GNU stabs. */ +stub_warning (cos) diff --git a/sysdeps/stub/cosh.c b/sysdeps/stub/cosh.c index ce1a0e2..6fdfc5d 100644 --- a/sysdeps/stub/cosh.c +++ b/sysdeps/stub/cosh.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(cosh, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(cosh); - -#endif /* GNU stabs. */ +stub_warning (cosh) diff --git a/sysdeps/stub/ctermid.c b/sysdeps/stub/ctermid.c index 0e74518..1025d68 100644 --- a/sysdeps/stub/ctermid.c +++ b/sysdeps/stub/ctermid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -32,10 +32,4 @@ DEFUN(ctermid, (s), char *s) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(ctermid); - -#endif /* GNU stabs. */ +stub_warning (ctermid) diff --git a/sysdeps/stub/cuserid.c b/sysdeps/stub/cuserid.c index e2c0eb7..655ddaf 100644 --- a/sysdeps/stub/cuserid.c +++ b/sysdeps/stub/cuserid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN(cuserid, (s), char *s) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(cuserid); - -#endif /* GNU stabs. */ +stub_warning (cuserid) diff --git a/sysdeps/stub/defs.c b/sysdeps/stub/defs.c index 56d1871..66f4c4d 100644 --- a/sysdeps/stub/defs.c +++ b/sysdeps/stub/defs.c @@ -1,6 +1,6 @@ /* Definitions of global stdio data structures. -Copyright (C) 1991 Free Software Foundation, Inc. +Copyright (C) 1991, 1995 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 @@ -45,7 +45,5 @@ DEFUN_VOID(_cleanup) #ifdef HAVE_GNU_LD -#include <gnu-stabs.h> - -text_set_element(__libc_atexit, _cleanup); +text_set_element (__libc_atexit, _cleanup); #endif diff --git a/sysdeps/stub/exp.c b/sysdeps/stub/exp.c index ba9e578..0ae956f 100644 --- a/sysdeps/stub/exp.c +++ b/sysdeps/stub/exp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(exp, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(exp); - -#endif /* GNU stabs. */ +stub_warning (exp) diff --git a/sysdeps/stub/fmod.c b/sysdeps/stub/fmod.c index e2cdc19..19fb431 100644 --- a/sysdeps/stub/fmod.c +++ b/sysdeps/stub/fmod.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(fmod, (x, y), double x AND double y) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(fmod); - -#endif /* GNU stabs. */ +stub_warning (fmod) diff --git a/sysdeps/stub/frexp.c b/sysdeps/stub/frexp.c index f1c3693..b8e77f7 100644 --- a/sysdeps/stub/frexp.c +++ b/sysdeps/stub/frexp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,10 +30,4 @@ DEFUN(frexp, (value, exp), double value AND int *exp) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(frexp); - -#endif /* GNU stabs. */ +stub_warning (frexp) diff --git a/sysdeps/stub/fsync.c b/sysdeps/stub/fsync.c index f8c92bf..84780da 100644 --- a/sysdeps/stub/fsync.c +++ b/sysdeps/stub/fsync.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(fsync, (fd), int fd) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(fsync); - -#endif /* GNU stabs. */ +stub_warning (fsync) diff --git a/sysdeps/stub/getcwd.c b/sysdeps/stub/getcwd.c index 16abaee..b6efa89 100644 --- a/sysdeps/stub/getcwd.c +++ b/sysdeps/stub/getcwd.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1995 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 @@ -36,10 +36,4 @@ DEFUN(getcwd, (buf, size), char *buf AND size_t size) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(getcwd); - -#endif /* GNU stabs. */ +stub_warning (getcwd) diff --git a/sysdeps/stub/getenv.c b/sysdeps/stub/getenv.c index 2f5dd99..a53e25b 100644 --- a/sysdeps/stub/getenv.c +++ b/sysdeps/stub/getenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(getenv, (name), CONST char *name) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(getenv); - -#endif /* GNU stabs. */ +stub_warning (getenv) diff --git a/sysdeps/stub/gethostid.c b/sysdeps/stub/gethostid.c index 74a3d66..8ff3827 100644 --- a/sysdeps/stub/gethostid.c +++ b/sysdeps/stub/gethostid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN_VOID(gethostid) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(gethostid); - -#endif /* GNU stabs. */ +stub_warning (gethostid) diff --git a/sysdeps/stub/getlogin.c b/sysdeps/stub/getlogin.c index bd48eb7..d350bfb 100644 --- a/sysdeps/stub/getlogin.c +++ b/sysdeps/stub/getlogin.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN_VOID(getlogin) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(getlogin); - -#endif /* GNU stabs. */ +stub_warning (getlogin) diff --git a/sysdeps/stub/getpeername.c b/sysdeps/stub/getpeername.c index ca9cf35..79497ca 100644 --- a/sysdeps/stub/getpeername.c +++ b/sysdeps/stub/getpeername.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN(getpeername, (fd, addr, len), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(getpeername); - -#endif /* GNU stabs. */ +stub_warning (getpeername) diff --git a/sysdeps/stub/getpriority.c b/sysdeps/stub/getpriority.c index 3c04044..eb6b43d 100644 --- a/sysdeps/stub/getpriority.c +++ b/sysdeps/stub/getpriority.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -32,11 +32,4 @@ DEFUN(getpriority, (which, who), return -1; } - -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(getpriority); - -#endif /* GNU stabs. */ +stub_warning (getpriority) diff --git a/sysdeps/stub/getrlimit.c b/sysdeps/stub/getrlimit.c index ed6f04f..8553c5f 100644 --- a/sysdeps/stub/getrlimit.c +++ b/sysdeps/stub/getrlimit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN(getrlimit, (resource, rlimits), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(getrlimit); - -#endif /* GNU stabs. */ +stub_warning (getrlimit) diff --git a/sysdeps/stub/getsockname.c b/sysdeps/stub/getsockname.c index 93a5f8e..a587e26 100644 --- a/sysdeps/stub/getsockname.c +++ b/sysdeps/stub/getsockname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,10 +30,4 @@ DEFUN(getsockname, (fd, addr, len), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(getsockname); - -#endif /* GNU stabs. */ +stub_warning (getsockname) diff --git a/sysdeps/stub/getsockopt.c b/sysdeps/stub/getsockopt.c index aa71e72..ab34d8b 100644 --- a/sysdeps/stub/getsockopt.c +++ b/sysdeps/stub/getsockopt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -33,10 +33,4 @@ DEFUN(getsockopt, (fd, level, optname, optval, optlen), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(getsockopt); - -#endif /* GNU stabs. */ +stub_warning (getsockopt) diff --git a/sysdeps/stub/listen.c b/sysdeps/stub/listen.c index 40bd998..6b7d4df 100644 --- a/sysdeps/stub/listen.c +++ b/sysdeps/stub/listen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -32,10 +32,4 @@ DEFUN(listen, (fd, n), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(listen); - -#endif /* GNU stabs. */ +stub_warning (listen) diff --git a/sysdeps/stub/log.c b/sysdeps/stub/log.c index 49ed802..99dab7b 100644 --- a/sysdeps/stub/log.c +++ b/sysdeps/stub/log.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(log, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(log); - -#endif /* GNU stabs. */ +stub_warning (log) diff --git a/sysdeps/stub/log10.c b/sysdeps/stub/log10.c index 26fb854..8ddffe6 100644 --- a/sysdeps/stub/log10.c +++ b/sysdeps/stub/log10.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(log10, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(log10); - -#endif /* GNU stabs. */ +stub_warning (log10) diff --git a/sysdeps/stub/mkfifo.c b/sysdeps/stub/mkfifo.c index 2b5c29c..d8aa882 100644 --- a/sysdeps/stub/mkfifo.c +++ b/sysdeps/stub/mkfifo.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -38,10 +38,4 @@ DEFUN(mkfifo, (path, mode), CONST char *path AND mode_t mode) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(mkfifo); - -#endif /* GNU stabs. */ +stub_warning (mkfifo) diff --git a/sysdeps/stub/morecore.c b/sysdeps/stub/morecore.c index 4f11e9c..cb66927 100644 --- a/sysdeps/stub/morecore.c +++ b/sysdeps/stub/morecore.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1995 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 @@ -34,10 +34,4 @@ DEFUN(__default_morecore, (increment), ptrdiff_t increment) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(__default_morecore); - -#endif /* GNU stabs. */ +stub_warning (__default_morecore) diff --git a/sysdeps/stub/nice.c b/sysdeps/stub/nice.c index c2ca089..5c3768a 100644 --- a/sysdeps/stub/nice.c +++ b/sysdeps/stub/nice.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1995 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 @@ -29,11 +29,4 @@ DEFUN(nice, (incr), int incr) return -1; } - -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning (nice); - -#endif /* GNU stabs. */ +stub_warning (nice) diff --git a/sysdeps/stub/nlist.c b/sysdeps/stub/nlist.c index d0e0e59..1407033 100644 --- a/sysdeps/stub/nlist.c +++ b/sysdeps/stub/nlist.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -39,10 +39,4 @@ DEFUN(nlist, (file, nl), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(nlist); - -#endif /* GNU stabs. */ +stub_warning (nlist) diff --git a/sysdeps/stub/opendir.c b/sysdeps/stub/opendir.c index e3697d7..e2124c7 100644 --- a/sysdeps/stub/opendir.c +++ b/sysdeps/stub/opendir.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN(opendir, (name), CONST char *name) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(opendir); - -#endif /* GNU stabs. */ +stub_warning (opendir) diff --git a/sysdeps/stub/pipestream.c b/sysdeps/stub/pipestream.c index 143cf71..afa2c47 100644 --- a/sysdeps/stub/pipestream.c +++ b/sysdeps/stub/pipestream.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1993, 1995 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 @@ -53,12 +53,5 @@ DEFUN(pclose, (stream), register FILE *stream) return -1; } - -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(popen); -stub_warning(pclose); - -#endif /* GNU stabs. */ +stub_warning (popen) +stub_warning (pclose) diff --git a/sysdeps/stub/ptrace.c b/sysdeps/stub/ptrace.c index 6bd5917..31fbbb1 100644 --- a/sysdeps/stub/ptrace.c +++ b/sysdeps/stub/ptrace.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993, 1995 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 @@ -99,10 +99,4 @@ DEFUN(ptrace, (request), enum __ptrace_request request DOTS) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(ptrace); - -#endif /* GNU stabs. */ +stub_warning (ptrace) diff --git a/sysdeps/stub/putenv.c b/sysdeps/stub/putenv.c index 964655f..3d845d8 100644 --- a/sysdeps/stub/putenv.c +++ b/sysdeps/stub/putenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,10 +30,4 @@ DEFUN(putenv, (string), CONST char *string) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(putenv); - -#endif /* GNU stabs. */ +stub_warning (putenv) diff --git a/sysdeps/stub/readdir.c b/sysdeps/stub/readdir.c index bce3df2..ad23ac1 100644 --- a/sysdeps/stub/readdir.c +++ b/sysdeps/stub/readdir.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,10 +30,4 @@ DEFUN(readdir, (dirp), DIR *dirp) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(readdir); - -#endif /* GNU stabs. */ +stub_warning (readdir) diff --git a/sysdeps/stub/reboot.c b/sysdeps/stub/reboot.c index 6801499..5cc05eb 100644 --- a/sysdeps/stub/reboot.c +++ b/sysdeps/stub/reboot.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1995 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 @@ -29,10 +29,4 @@ DEFUN(reboot, (howto), int howto) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(reboot); - -#endif /* GNU stabs. */ +stub_warning (reboot) diff --git a/sysdeps/stub/recv.c b/sysdeps/stub/recv.c index e7355af..21c9cfa 100644 --- a/sysdeps/stub/recv.c +++ b/sysdeps/stub/recv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN(recv, (fd, buf, n, flags), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(recv); - -#endif /* GNU stabs. */ +stub_warning (recv) diff --git a/sysdeps/stub/recvfrom.c b/sysdeps/stub/recvfrom.c index 6d33bb6..aca6d23 100644 --- a/sysdeps/stub/recvfrom.c +++ b/sysdeps/stub/recvfrom.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -33,10 +33,4 @@ DEFUN(recvfrom, (fd, buf, n, flags, addr, addr_len), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(recvfrom); - -#endif /* GNU stabs. */ +stub_warning (recvfrom) diff --git a/sysdeps/stub/rename.c b/sysdeps/stub/rename.c index c69df72..e880d79 100644 --- a/sysdeps/stub/rename.c +++ b/sysdeps/stub/rename.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -36,10 +36,4 @@ DEFUN(rename, (old, new), CONST char *old AND CONST char *new) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(rename); - -#endif /* GNU stabs. */ +stub_warning (rename) diff --git a/sysdeps/stub/rewinddir.c b/sysdeps/stub/rewinddir.c index 1eb5a0b..d4f0ce9 100644 --- a/sysdeps/stub/rewinddir.c +++ b/sysdeps/stub/rewinddir.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN(rewinddir, (dirp), DIR *dirp) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(rewinddir); - -#endif /* GNU stabs. */ +stub_warning (rewinddir) diff --git a/sysdeps/stub/seekdir.c b/sysdeps/stub/seekdir.c index 61d270b..449aa62 100644 --- a/sysdeps/stub/seekdir.c +++ b/sysdeps/stub/seekdir.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -36,10 +36,4 @@ DEFUN(seekdir, (dirp, pos), DIR *dirp AND off_t pos) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(seekdir); - -#endif /* GNU stabs. */ +stub_warning (seekdir) diff --git a/sysdeps/stub/send.c b/sysdeps/stub/send.c index d1fbc69..3832185 100644 --- a/sysdeps/stub/send.c +++ b/sysdeps/stub/send.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,10 +30,4 @@ DEFUN(send, (fd, buf, n, flags), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(send); - -#endif /* GNU stabs. */ +stub_warning (send) diff --git a/sysdeps/stub/sendto.c b/sysdeps/stub/sendto.c index 21d76ba..f2253b1 100644 --- a/sysdeps/stub/sendto.c +++ b/sysdeps/stub/sendto.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -32,10 +32,4 @@ DEFUN(sendto, (fd, buf, n, flags, addr, addr_len), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(sendto); - -#endif /* GNU stabs. */ +stub_warning (sendto) diff --git a/sysdeps/stub/setegid.c b/sysdeps/stub/setegid.c index 58a3fe9..3429c67 100644 --- a/sysdeps/stub/setegid.c +++ b/sysdeps/stub/setegid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1994 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1994, 1995 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 @@ -29,10 +29,4 @@ DEFUN(setegid, (gid), __gid_t gid) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(setegid); - -#endif /* GNU stabs. */ +stub_warning (setegid) diff --git a/sysdeps/stub/seteuid.c b/sysdeps/stub/seteuid.c index 73180cc..e86e9a5 100644 --- a/sysdeps/stub/seteuid.c +++ b/sysdeps/stub/seteuid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1995 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 @@ -29,10 +29,4 @@ DEFUN(seteuid, (uid), __uid_t uid) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(seteuid); - -#endif /* GNU stabs. */ +stub_warning (seteuid) diff --git a/sysdeps/stub/setgroups.c b/sysdeps/stub/setgroups.c index 71d08d2..c5955a0 100644 --- a/sysdeps/stub/setgroups.c +++ b/sysdeps/stub/setgroups.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,10 +30,4 @@ DEFUN(setgroups, (n, groups), size_t n AND CONST gid_t *groups) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(setgroups); - -#endif /* GNU stabs. */ +stub_warning (setgroups) diff --git a/sysdeps/stub/sethostid.c b/sysdeps/stub/sethostid.c index 500e100..d12b93b 100644 --- a/sysdeps/stub/sethostid.c +++ b/sysdeps/stub/sethostid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,10 +30,4 @@ DEFUN(sethostid, (id), long int id) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(sethostid); - -#endif /* GNU stabs. */ +stub_warning (sethostid) diff --git a/sysdeps/stub/sethostname.c b/sysdeps/stub/sethostname.c index db44239..81fa5fb 100644 --- a/sysdeps/stub/sethostname.c +++ b/sysdeps/stub/sethostname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN(sethostname, (name, len), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(sethostname); - -#endif /* GNU stabs. */ +stub_warning (sethostname) diff --git a/sysdeps/stub/setjmp.c b/sysdeps/stub/setjmp.c index 47a471d..01f5812 100644 --- a/sysdeps/stub/setjmp.c +++ b/sysdeps/stub/setjmp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1994 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1994, 1995 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 @@ -33,10 +33,4 @@ __sigsetjmp (jmp_buf env, int savemask) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(__sigsetjmp); - -#endif /* GNU stabs. */ +stub_warning (__sigsetjmp) diff --git a/sysdeps/stub/setpriority.c b/sysdeps/stub/setpriority.c index b826927..255306e 100644 --- a/sysdeps/stub/setpriority.c +++ b/sysdeps/stub/setpriority.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -30,11 +30,4 @@ DEFUN(setpriority, (which, who, prio), return -1; } - -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(setpriority); - -#endif /* GNU stabs. */ +stub_warning (setpriority) diff --git a/sysdeps/stub/setrlimit.c b/sysdeps/stub/setrlimit.c index 4e8083f..2affcc7 100644 --- a/sysdeps/stub/setrlimit.c +++ b/sysdeps/stub/setrlimit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -32,10 +32,4 @@ DEFUN(setrlimit, (resource, rlimits), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(setrlimit); - -#endif /* GNU stabs. */ +stub_warning (setrlimit) diff --git a/sysdeps/stub/setsockopt.c b/sysdeps/stub/setsockopt.c index bd1500a..c1933af 100644 --- a/sysdeps/stub/setsockopt.c +++ b/sysdeps/stub/setsockopt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -33,10 +33,4 @@ DEFUN(setsockopt, (fd, level, optname, optval, optlen), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(setsockopt); - -#endif /* GNU stabs. */ +stub_warning (setsockopt) diff --git a/sysdeps/stub/shutdown.c b/sysdeps/stub/shutdown.c index 65d418f..501d532 100644 --- a/sysdeps/stub/shutdown.c +++ b/sysdeps/stub/shutdown.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -35,10 +35,4 @@ DEFUN(shutdown, (fd, how), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(shutdown); - -#endif /* GNU stabs. */ +stub_warning (shutdown) diff --git a/sysdeps/stub/signal.c b/sysdeps/stub/signal.c index 88dc14a..2bd9b42 100644 --- a/sysdeps/stub/signal.c +++ b/sysdeps/stub/signal.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN(signal, (sig, handler), int sig AND __sighandler_t handler) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(signal); - -#endif /* GNU stabs. */ +stub_warning (signal) diff --git a/sysdeps/stub/sigsuspend.c b/sysdeps/stub/sigsuspend.c index 9c2067b..da7ff85 100644 --- a/sysdeps/stub/sigsuspend.c +++ b/sysdeps/stub/sigsuspend.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -31,10 +31,4 @@ DEFUN(sigsuspend, (set), CONST sigset_t *set) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(sigsuspend); - -#endif /* GNU stabs. */ +stub_warning (sigsuspend) diff --git a/sysdeps/stub/sin.c b/sysdeps/stub/sin.c index 9286811..7100661 100644 --- a/sysdeps/stub/sin.c +++ b/sysdeps/stub/sin.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(sin, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(sin); - -#endif /* GNU stabs. */ +stub_warning (sin) diff --git a/sysdeps/stub/sinh.c b/sysdeps/stub/sinh.c index 80c1b88..52cc8c1 100644 --- a/sysdeps/stub/sinh.c +++ b/sysdeps/stub/sinh.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(sinh, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(sinh); - -#endif /* GNU stabs. */ +stub_warning (sinh) diff --git a/sysdeps/stub/socket.c b/sysdeps/stub/socket.c index a1e3d97..5012cf2 100644 --- a/sysdeps/stub/socket.c +++ b/sysdeps/stub/socket.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -32,10 +32,4 @@ DEFUN(socket, (domain, type, protocol), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(socket); - -#endif /* GNU stabs. */ +stub_warning (socket) diff --git a/sysdeps/stub/socketpair.c b/sysdeps/stub/socketpair.c index f79cc28..77889b4 100644 --- a/sysdeps/stub/socketpair.c +++ b/sysdeps/stub/socketpair.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -33,10 +33,4 @@ DEFUN(socketpair, (domain, type, protocol, fds), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(socketpair); - -#endif /* GNU stabs. */ +stub_warning (socketpair) diff --git a/sysdeps/stub/sqrt.c b/sysdeps/stub/sqrt.c index bdba5e5..8ca3459 100644 --- a/sysdeps/stub/sqrt.c +++ b/sysdeps/stub/sqrt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(sqrt, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(sqrt); - -#endif /* GNU stabs. */ +stub_warning (sqrt) diff --git a/sysdeps/stub/sync.c b/sysdeps/stub/sync.c index 6a8e5e6..34ddf2f 100644 --- a/sysdeps/stub/sync.c +++ b/sysdeps/stub/sync.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN_VOID(sync) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(sync); - -#endif /* GNU stabs. */ +stub_warning (sync) diff --git a/sysdeps/stub/sysd-stdio.c b/sysdeps/stub/sysd-stdio.c index 51d2ddb..c74823a 100644 --- a/sysdeps/stub/sysd-stdio.c +++ b/sysdeps/stub/sysd-stdio.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993, 1994, 1995 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 @@ -96,16 +96,10 @@ DEFUN(__stdio_reopen, (filename, m, cookieptr), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(__stdio_read); -stub_warning(__stdio_write); -stub_warning(__stdio_seek); -stub_warning(__stdio_close); -stub_warning(__stdio_fileno); -stub_warning(__stdio_open); -stub_warning(__stdio_reopen); - -#endif /* GNU stabs. */ +stub_warning (__stdio_read) +stub_warning (__stdio_write) +stub_warning (__stdio_seek) +stub_warning (__stdio_close) +stub_warning (__stdio_fileno) +stub_warning (__stdio_open) +stub_warning (__stdio_reopen) diff --git a/sysdeps/stub/system.c b/sysdeps/stub/system.c index c2b35fb..75c0747 100644 --- a/sysdeps/stub/system.c +++ b/sysdeps/stub/system.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1993, 1995 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 @@ -33,10 +33,4 @@ DEFUN(system, (line), CONST char *line) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(system); - -#endif /* GNU stabs. */ +stub_warning (system) diff --git a/sysdeps/stub/tan.c b/sysdeps/stub/tan.c index de7b561..cca882d 100644 --- a/sysdeps/stub/tan.c +++ b/sysdeps/stub/tan.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(tan, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(tan); - -#endif /* GNU stabs. */ +stub_warning (tan) diff --git a/sysdeps/stub/tanh.c b/sysdeps/stub/tanh.c index 3d748c0..4eb55b9 100644 --- a/sysdeps/stub/tanh.c +++ b/sysdeps/stub/tanh.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -29,10 +29,4 @@ DEFUN(tanh, (x), double x) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(tanh); - -#endif /* GNU stabs. */ +stub_warning (tanh) diff --git a/sysdeps/stub/tcdrain.c b/sysdeps/stub/tcdrain.c index 9fc96b8..20f2b86 100644 --- a/sysdeps/stub/tcdrain.c +++ b/sysdeps/stub/tcdrain.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -35,10 +35,4 @@ DEFUN(tcdrain, (fd), int fd) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(tcdrain); - -#endif /* GNU stabs. */ +stub_warning (tcdrain) diff --git a/sysdeps/stub/tcflow.c b/sysdeps/stub/tcflow.c index 968b9a4..5ccc9d5 100644 --- a/sysdeps/stub/tcflow.c +++ b/sysdeps/stub/tcflow.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -48,10 +48,4 @@ DEFUN(tcflow, (fd, action), int fd AND int action) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(tcflow); - -#endif /* GNU stabs. */ +stub_warning (tcflow) diff --git a/sysdeps/stub/tcgetpgrp.c b/sysdeps/stub/tcgetpgrp.c index 6a667d0..1e1ebfa 100644 --- a/sysdeps/stub/tcgetpgrp.c +++ b/sysdeps/stub/tcgetpgrp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -36,10 +36,4 @@ DEFUN(tcgetpgrp, (fd), int fd) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(tcgetpgrp); - -#endif /* GNU stabs. */ +stub_warning (tcgetpgrp) diff --git a/sysdeps/stub/tcsendbrk.c b/sysdeps/stub/tcsendbrk.c index 4c90426..6d8be74 100644 --- a/sysdeps/stub/tcsendbrk.c +++ b/sysdeps/stub/tcsendbrk.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -35,10 +35,4 @@ DEFUN(tcsendbreak, (fd, duration), int fd AND int duration) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(tcsendbreak); - -#endif /* GNU stabs. */ +stub_warning (tcsendbreak) diff --git a/sysdeps/stub/tcsetattr.c b/sysdeps/stub/tcsetattr.c index 21de21e..89ee7d7 100644 --- a/sysdeps/stub/tcsetattr.c +++ b/sysdeps/stub/tcsetattr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -91,10 +91,4 @@ DEFUN(bad_speed, (speed), speed_t speed) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(tcsetattr); - -#endif /* GNU stabs. */ +stub_warning (tcsetattr) diff --git a/sysdeps/stub/tcsetpgrp.c b/sysdeps/stub/tcsetpgrp.c index 06b8fed..3dbe34e 100644 --- a/sysdeps/stub/tcsetpgrp.c +++ b/sysdeps/stub/tcsetpgrp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -37,10 +37,4 @@ DEFUN(tcsetpgrp, (fd, pgrp_id), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(tcsetpgrp); - -#endif /* GNU stabs. */ +stub_warning (tcsetpgrp) diff --git a/sysdeps/stub/telldir.c b/sysdeps/stub/telldir.c index 3d2a40e..ce00e09 100644 --- a/sysdeps/stub/telldir.c +++ b/sysdeps/stub/telldir.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -37,10 +37,4 @@ DEFUN(telldir, (dirp), DIR *dirp) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(telldir); - -#endif /* GNU stabs. */ +stub_warning (telldir) diff --git a/sysdeps/stub/tempname.c b/sysdeps/stub/tempname.c index 6292f8a..42b1c32 100644 --- a/sysdeps/stub/tempname.c +++ b/sysdeps/stub/tempname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993, 1995 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 @@ -38,10 +38,4 @@ DEFUN(__stdio_gen_tempname, (dir, pfx, dir_search, lenptr), } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(__stdio_gen_tempname); - -#endif /* GNU stabs. */ +stub_warning (__stdio_gen_tempname) diff --git a/sysdeps/stub/ttyname.c b/sysdeps/stub/ttyname.c index 1a7c559..a243e85 100644 --- a/sysdeps/stub/ttyname.c +++ b/sysdeps/stub/ttyname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -34,10 +34,4 @@ DEFUN(ttyname, (fd), int fd) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(ttyname); - -#endif /* GNU stabs. */ +stub_warning (ttyname) diff --git a/sysdeps/stub/ttyname_r.c b/sysdeps/stub/ttyname_r.c index 875929e..67350d9 100644 --- a/sysdeps/stub/ttyname_r.c +++ b/sysdeps/stub/ttyname_r.c @@ -33,10 +33,4 @@ ttyname_r (fd, buf, buflen) } -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(ttyname_r); - -#endif /* GNU stabs. */ +stub_warning (ttyname_r) diff --git a/sysdeps/stub/utime.c b/sysdeps/stub/utime.c index eee736f..641960d 100644 --- a/sysdeps/stub/utime.c +++ b/sysdeps/stub/utime.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 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 @@ -38,10 +38,4 @@ DEFUN(utime, (file, times), CONST char *file AND CONST struct utimbuf *times) -#ifdef HAVE_GNU_LD - -#include <gnu-stabs.h> - -stub_warning(utime); - -#endif /* GNU stabs. */ +stub_warning (utime) diff --git a/sysdeps/unix/configure b/sysdeps/unix/configure index 8069c52..4fb599a 100755 --- a/sysdeps/unix/configure +++ b/sysdeps/unix/configure @@ -64,7 +64,10 @@ for unix_function in \ access select getgroups setgroups \ getitimer setitimer \ getdomainname/getdomain=bsd/bsd4.4 \ - setdomainname/setdomain=bsd/bsd4.4 + setdomainname/setdomain=bsd/bsd4.4 \ + profil=bsd \ + getpriority setpriority \ + getrlimit setrlimit do # $unix_function => $unix_syscall $unix_srcname diff --git a/sysdeps/unix/configure.in b/sysdeps/unix/configure.in index 08a925a..6d8a1fd 100644 --- a/sysdeps/unix/configure.in +++ b/sysdeps/unix/configure.in @@ -72,7 +72,9 @@ for unix_function in \ getitimer setitimer \ getdomainname/getdomain=bsd/bsd4.4 \ setdomainname/setdomain=bsd/bsd4.4 \ - profil=bsd + profil=bsd \ + getpriority setpriority \ + getrlimit setrlimit do # $unix_function => $unix_syscall $unix_srcname diff --git a/sysdeps/unix/i386/sysdep.h b/sysdeps/unix/i386/sysdep.h index 46f2886..7fd77dd 100644 --- a/sysdeps/unix/i386/sysdep.h +++ b/sysdeps/unix/i386/sysdep.h @@ -29,7 +29,7 @@ Cambridge, MA 02139, USA. */ /* For ELF we need the `.type' directive to make shared libs work right. */ #ifdef HAVE_ELF -#define ASM_TYPE_DIRECTIVE(name,type) .type name,type; +#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg; #else #define ASM_TYPE_DIRECTIVE(name,type) /* Nothing is specified. */ #endif |