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 0d675d6d22..e1728dbf4e 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 9fe0d86a0a..4f4c07e1df 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 3cc4c4b5a0..d7f38f974b 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 d72a430150..4b2c59a48b 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 d3a30c2844..429f2aaefb 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 2ba05b5573..6684ce0b33 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 861d624a03..78cf673e71 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 e645d48640..0d4ee06c50 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 c6ed43f625..cc7a0eebbc 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 8ee50234a4..9a744ef209 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 8835bead9b..a330b051e5 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 637784accd..a18d349329 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 4595d47ecb..fbc1ebe3d4 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 5fae8dd23a..8e6c7243b4 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 675855ce56..81cf1b603f 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 ce1a0e241d..6fdfc5dce5 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 0e74518fab..1025d686d7 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 e2c0eb77f1..655ddaf2a5 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 56d1871e52..66f4c4dd24 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 ba9e578ac5..0ae956f56f 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 e2cdc19df7..19fb431682 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 f1c3693b95..b8e77f72f1 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 f8c92bf7ef..84780da828 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 16abaeee21..b6efa89e28 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 2f5dd99380..a53e25bd96 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 74a3d66438..8ff3827f51 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 bd48eb7206..d350bfb843 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 ca9cf3539c..79497ca8aa 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 3c0404478e..eb6b43d834 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 ed6f04f47a..8553c5f262 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 93a5f8e008..a587e26e9e 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 aa71e72193..ab34d8b09c 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 40bd998ee4..6b7d4df938 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 49ed8029fa..99dab7b65d 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 26fb85477c..8ddffe6e71 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 2b5c29c061..d8aa88283c 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 4f11e9ccef..cb669277b0 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 c2ca0892f0..5c3768a7e5 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 d0e0e59fee..1407033114 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 e3697d710c..e2124c79ad 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 143cf71940..afa2c4735d 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 6bd5917f39..31fbbb1b05 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 964655f3e0..3d845d8eaa 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 bce3df271b..ad23ac1afc 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 6801499e59..5cc05eb5cb 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 e7355af49c..21c9cfa1b2 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 6d33bb6282..aca6d23791 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 c69df72050..e880d7908b 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 1eb5a0bf5c..d4f0ce9fa0 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 61d270b8b8..449aa62e1e 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 d1fbc69481..3832185b9e 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 21d76ba12f..f2253b12b9 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 58a3fe93c8..3429c67911 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 73180ccf67..e86e9a5898 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 71d08d2732..c5955a014e 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 500e1003cf..d12b93bc6d 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 db44239b8f..81fa5fb742 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 47a471df02..01f58121d5 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 b826927f73..255306e142 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 4e8083f8a8..2affcc76b8 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 bd1500a903..c1933afe38 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 65d418fa95..501d532184 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 88dc14a402..2bd9b4217f 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 9c2067b2bf..da7ff85a83 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 9286811cfe..7100661dbb 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 80c1b8833f..52cc8c1d40 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 a1e3d97e78..5012cf2cc9 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 f79cc28823..77889b486d 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 bdba5e5944..8ca345972e 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 6a8e5e6976..34ddf2f0de 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 51d2ddb519..c74823a7a4 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 c2b35fbbcd..75c0747a1e 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 de7b56130e..cca882d274 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 3d748c015e..4eb55b9028 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 9fc96b8e1e..20f2b86195 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 968b9a48de..5ccc9d5646 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 6a667d0a35..1e1ebfa923 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 4c90426186..6d8be7403c 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 21de21e3cb..89ee7d7c32 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 06b8feda00..3dbe34e29c 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 3d2a40e38c..ce00e09fb4 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 6292f8acec..42b1c32022 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 1a7c559ee4..a243e85053 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 875929e3f3..67350d9ed3 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 eee736fabd..641960dd1b 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 8069c52d6b..4fb599a72c 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 08a925a5ee..6d8a1fd006 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 46f2886c4a..7fd77dd936 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 |