1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):

Don't use `type' for arg name, since we are using it as a keyword
	in the rhs. 

	* sysdeps/unix/configure.in: Check for syscalls getpriority,
	setpriority, getrlimit, setrlimit.

	* sysdeps/posix/truncate.c: Include fcntl.h.

	* sysdeps/generic/getdomain.c: Include string.h for strncpy decl.

	* sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
	use new stub_warning syntax.
	* sysdeps/stub/setpriority.c: Likewise.
	* sysdeps/stub/__longjmp.c: Likewise.
	* sysdeps/stub/_exit.c: Likewise.
	* sysdeps/stub/accept.c: Likewise.
	* sysdeps/stub/acos.c: Likewise.
	* sysdeps/stub/alarm.c: Likewise.
	* sysdeps/stub/asin.c: Likewise.
	* sysdeps/stub/atan2.c: Likewise.
	* sysdeps/stub/bind.c: Likewise.
	* sysdeps/stub/cbrt.c: Likewise.
	* sysdeps/stub/chroot.c: Likewise.
	* sysdeps/stub/closedir.c: Likewise.
	* sysdeps/stub/connect.c: Likewise.
	* sysdeps/stub/cos.c: Likewise.
	* sysdeps/stub/cosh.c: Likewise.
	* sysdeps/stub/ctermid.c: Likewise.
	* sysdeps/stub/cuserid.c: Likewise.
	* sysdeps/stub/defs.c: Likewise.
	* sysdeps/stub/exp.c: Likewise.
	* sysdeps/stub/fmod.c: Likewise.
	* sysdeps/stub/frexp.c: Likewise.
	* sysdeps/stub/fsync.c: Likewise.
	* sysdeps/stub/getcwd.c: Likewise.
	* sysdeps/stub/getenv.c: Likewise.
	* sysdeps/stub/gethostid.c: Likewise.
	* sysdeps/stub/getlogin.c: Likewise.
	* sysdeps/stub/getpeername.c: Likewise.
	* sysdeps/stub/getrlimit.c: Likewise.
	* sysdeps/stub/getsockname.c: Likewise.
	* sysdeps/stub/getsockopt.c: Likewise.
	* sysdeps/stub/listen.c: Likewise.
	* sysdeps/stub/log.c: Likewise.
	* sysdeps/stub/log10.c: Likewise.
	* sysdeps/stub/mkfifo.c: Likewise.
	* sysdeps/stub/morecore.c: Likewise.
	* sysdeps/stub/nice.c: Likewise.
	* sysdeps/stub/nlist.c: Likewise.
	* sysdeps/stub/opendir.c: Likewise.
	* sysdeps/stub/pipestream.c: Likewise.
	* sysdeps/stub/ptrace.c: Likewise.
	* sysdeps/stub/putenv.c: Likewise.
	* sysdeps/stub/readdir.c: Likewise.
	* sysdeps/stub/reboot.c: Likewise.
	* sysdeps/stub/recv.c: Likewise.
	* sysdeps/stub/recvfrom.c: Likewise.
	* sysdeps/stub/rename.c: Likewise.
	* sysdeps/stub/rewinddir.c: Likewise.
	* sysdeps/stub/seekdir.c: Likewise.
	* sysdeps/stub/send.c: Likewise.
	* sysdeps/stub/sendto.c: Likewise.
	* sysdeps/stub/setegid.c: Likewise.
	* sysdeps/stub/seteuid.c: Likewise.
	* sysdeps/stub/setgroups.c: Likewise.
	* sysdeps/stub/sethostid.c: Likewise.
	* sysdeps/stub/sethostname.c: Likewise.
	* sysdeps/stub/setjmp.c: Likewise.
	* sysdeps/stub/setrlimit.c: Likewise.
	* sysdeps/stub/setsockopt.c: Likewise.
	* sysdeps/stub/shutdown.c: Likewise.
	* sysdeps/stub/signal.c: Likewise.
	* sysdeps/stub/sigsuspend.c: Likewise.
	* sysdeps/stub/sin.c: Likewise.
	* sysdeps/stub/sinh.c: Likewise.
	* sysdeps/stub/socket.c: Likewise.
	* sysdeps/stub/socketpair.c: Likewise.
	* sysdeps/stub/sqrt.c: Likewise.
	* sysdeps/stub/sync.c: Likewise.
M sysd-stdio.c
	* sysdeps/stub/system.c: Likewise.
	* sysdeps/stub/tan.c: Likewise.
	* sysdeps/stub/tanh.c: Likewise.
	* sysdeps/stub/tcdrain.c: Likewise.
	* sysdeps/stub/tcflow.c: Likewise.
	* sysdeps/stub/tcgetpgrp.c: Likewise.
	* sysdeps/stub/tcsendbrk.c: Likewise.
	* sysdeps/stub/tcsetattr.c: Likewise.
	* sysdeps/stub/tcsetpgrp.c: Likewise.
	* sysdeps/stub/telldir.c: Likewise.
	* sysdeps/stub/tempname.c: Likewise.
	* sysdeps/stub/ttyname.c: Likewise.
	* sysdeps/stub/ttyname_r.c: Likewise.
	* sysdeps/stub/utime.c: Likewise.

	* gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.

	* time/mktime.c (localtime_r): Use 0 instead of NULL.
This commit is contained in:
Roland McGrath
1995-09-27 16:05:25 +00:00
parent ea03559a9d
commit 3f33a4ce76
91 changed files with 285 additions and 677 deletions

100
ChangeLog
View File

@ -1,5 +1,105 @@
Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):
Don't use `type' for arg name, since we are using it as a keyword
in the rhs.
* sysdeps/unix/configure.in: Check for syscalls getpriority,
setpriority, getrlimit, setrlimit.
* sysdeps/posix/truncate.c: Include fcntl.h.
* sysdeps/generic/getdomain.c: Include string.h for strncpy decl.
* sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
use new stub_warning syntax.
* sysdeps/stub/setpriority.c: Likewise.
* sysdeps/stub/__longjmp.c: Likewise.
* sysdeps/stub/_exit.c: Likewise.
* sysdeps/stub/accept.c: Likewise.
* sysdeps/stub/acos.c: Likewise.
* sysdeps/stub/alarm.c: Likewise.
* sysdeps/stub/asin.c: Likewise.
* sysdeps/stub/atan2.c: Likewise.
* sysdeps/stub/bind.c: Likewise.
* sysdeps/stub/cbrt.c: Likewise.
* sysdeps/stub/chroot.c: Likewise.
* sysdeps/stub/closedir.c: Likewise.
* sysdeps/stub/connect.c: Likewise.
* sysdeps/stub/cos.c: Likewise.
* sysdeps/stub/cosh.c: Likewise.
* sysdeps/stub/ctermid.c: Likewise.
* sysdeps/stub/cuserid.c: Likewise.
* sysdeps/stub/defs.c: Likewise.
* sysdeps/stub/exp.c: Likewise.
* sysdeps/stub/fmod.c: Likewise.
* sysdeps/stub/frexp.c: Likewise.
* sysdeps/stub/fsync.c: Likewise.
* sysdeps/stub/getcwd.c: Likewise.
* sysdeps/stub/getenv.c: Likewise.
* sysdeps/stub/gethostid.c: Likewise.
* sysdeps/stub/getlogin.c: Likewise.
* sysdeps/stub/getpeername.c: Likewise.
* sysdeps/stub/getrlimit.c: Likewise.
* sysdeps/stub/getsockname.c: Likewise.
* sysdeps/stub/getsockopt.c: Likewise.
* sysdeps/stub/listen.c: Likewise.
* sysdeps/stub/log.c: Likewise.
* sysdeps/stub/log10.c: Likewise.
* sysdeps/stub/mkfifo.c: Likewise.
* sysdeps/stub/morecore.c: Likewise.
* sysdeps/stub/nice.c: Likewise.
* sysdeps/stub/nlist.c: Likewise.
* sysdeps/stub/opendir.c: Likewise.
* sysdeps/stub/pipestream.c: Likewise.
* sysdeps/stub/ptrace.c: Likewise.
* sysdeps/stub/putenv.c: Likewise.
* sysdeps/stub/readdir.c: Likewise.
* sysdeps/stub/reboot.c: Likewise.
* sysdeps/stub/recv.c: Likewise.
* sysdeps/stub/recvfrom.c: Likewise.
* sysdeps/stub/rename.c: Likewise.
* sysdeps/stub/rewinddir.c: Likewise.
* sysdeps/stub/seekdir.c: Likewise.
* sysdeps/stub/send.c: Likewise.
* sysdeps/stub/sendto.c: Likewise.
* sysdeps/stub/setegid.c: Likewise.
* sysdeps/stub/seteuid.c: Likewise.
* sysdeps/stub/setgroups.c: Likewise.
* sysdeps/stub/sethostid.c: Likewise.
* sysdeps/stub/sethostname.c: Likewise.
* sysdeps/stub/setjmp.c: Likewise.
* sysdeps/stub/setrlimit.c: Likewise.
* sysdeps/stub/setsockopt.c: Likewise.
* sysdeps/stub/shutdown.c: Likewise.
* sysdeps/stub/signal.c: Likewise.
* sysdeps/stub/sigsuspend.c: Likewise.
* sysdeps/stub/sin.c: Likewise.
* sysdeps/stub/sinh.c: Likewise.
* sysdeps/stub/socket.c: Likewise.
* sysdeps/stub/socketpair.c: Likewise.
* sysdeps/stub/sqrt.c: Likewise.
* sysdeps/stub/sync.c: Likewise.
M sysd-stdio.c
* sysdeps/stub/system.c: Likewise.
* sysdeps/stub/tan.c: Likewise.
* sysdeps/stub/tanh.c: Likewise.
* sysdeps/stub/tcdrain.c: Likewise.
* sysdeps/stub/tcflow.c: Likewise.
* sysdeps/stub/tcgetpgrp.c: Likewise.
* sysdeps/stub/tcsendbrk.c: Likewise.
* sysdeps/stub/tcsetattr.c: Likewise.
* sysdeps/stub/tcsetpgrp.c: Likewise.
* sysdeps/stub/telldir.c: Likewise.
* sysdeps/stub/tempname.c: Likewise.
* sysdeps/stub/ttyname.c: Likewise.
* sysdeps/stub/ttyname_r.c: Likewise.
* sysdeps/stub/utime.c: Likewise.
* gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.
* time/mktime.c (localtime_r): Use 0 instead of NULL.
* config.make.in (AS): New variable; set to `$(CC) -c'. * config.make.in (AS): New variable; set to `$(CC) -c'.
* posix/unistd.h [__USE_BSD]: Declare profil. * posix/unistd.h [__USE_BSD]: Declare profil.

View File

@ -199,12 +199,12 @@ moncontrol(mode)
if (mode) { if (mode) {
/* start */ /* start */
profil((char *)p->kcount, p->kcountsize, (int)p->lowpc, profil(p->kcount, p->kcountsize, (int)p->lowpc,
s_scale); s_scale);
p->state = GMON_PROF_ON; p->state = GMON_PROF_ON;
} else { } else {
/* stop */ /* stop */
profil((char *)0, 0, 0, 0); profil(0, 0, 0, 0);
p->state = GMON_PROF_OFF; p->state = GMON_PROF_OFF;
} }
} }

View File

@ -19,6 +19,7 @@ Cambridge, MA 02139, USA. */
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
#include <sys/utsname.h> #include <sys/utsname.h>
#include <string.h>
#if _UTSNAME_DOMAIN_LENGTH #if _UTSNAME_DOMAIN_LENGTH
/* The `uname' information includes the domain name. */ /* The `uname' information includes the domain name. */

View File

@ -20,6 +20,7 @@ Cambridge, MA 02139, USA. */
#include <sys/types.h> #include <sys/types.h>
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h>
/* Truncate PATH to LENGTH bytes. */ /* Truncate PATH to LENGTH bytes. */
int int

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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. */ /* No way to signal failure. */
} }
stub_warning (longjmp)
#ifdef HAVE_GNU_LD
#include <gnu-stabs.h>
stub_warning(longjmp);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (_exit)
#include <gnu-stabs.h>
stub_warning(_exit);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (accept)
#include <gnu-stabs.h>
stub_warning(accept);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (acos)
#include <gnu-stabs.h>
stub_warning(acos);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (alarm)
#include <gnu-stabs.h>
stub_warning(alarm);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (asin)
#include <gnu-stabs.h>
stub_warning(asin);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (atan2)
#include <gnu-stabs.h>
stub_warning(atan2);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (bind)
#include <gnu-stabs.h>
stub_warning(bind);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (cbrt)
#include <gnu-stabs.h>
stub_warning(cbrt);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (chroot)
#include <gnu-stabs.h>
stub_warning(chroot);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (closedir)
#include <gnu-stabs.h>
stub_warning(closedir);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (connect)
#include <gnu-stabs.h>
stub_warning(connect);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (cos)
#include <gnu-stabs.h>
stub_warning(cos);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (cosh)
#include <gnu-stabs.h>
stub_warning(cosh);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (ctermid)
#include <gnu-stabs.h>
stub_warning(ctermid);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (cuserid)
#include <gnu-stabs.h>
stub_warning(cuserid);
#endif /* GNU stabs. */

View File

@ -1,6 +1,6 @@
/* Definitions of global stdio data structures. /* 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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -45,7 +45,5 @@ DEFUN_VOID(_cleanup)
#ifdef HAVE_GNU_LD #ifdef HAVE_GNU_LD
#include <gnu-stabs.h> text_set_element (__libc_atexit, _cleanup);
text_set_element(__libc_atexit, _cleanup);
#endif #endif

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (exp)
#include <gnu-stabs.h>
stub_warning(exp);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (fmod)
#include <gnu-stabs.h>
stub_warning(fmod);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (frexp)
#include <gnu-stabs.h>
stub_warning(frexp);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (fsync)
#include <gnu-stabs.h>
stub_warning(fsync);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (getcwd)
#include <gnu-stabs.h>
stub_warning(getcwd);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (getenv)
#include <gnu-stabs.h>
stub_warning(getenv);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -29,10 +29,4 @@ DEFUN_VOID(gethostid)
} }
#ifdef HAVE_GNU_LD stub_warning (gethostid)
#include <gnu-stabs.h>
stub_warning(gethostid);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -31,10 +31,4 @@ DEFUN_VOID(getlogin)
} }
#ifdef HAVE_GNU_LD stub_warning (getlogin)
#include <gnu-stabs.h>
stub_warning(getlogin);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (getpeername)
#include <gnu-stabs.h>
stub_warning(getpeername);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -32,11 +32,4 @@ DEFUN(getpriority, (which, who),
return -1; return -1;
} }
stub_warning (getpriority)
#ifdef HAVE_GNU_LD
#include <gnu-stabs.h>
stub_warning(getpriority);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (getrlimit)
#include <gnu-stabs.h>
stub_warning(getrlimit);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (getsockname)
#include <gnu-stabs.h>
stub_warning(getsockname);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (getsockopt)
#include <gnu-stabs.h>
stub_warning(getsockopt);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (listen)
#include <gnu-stabs.h>
stub_warning(listen);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (log)
#include <gnu-stabs.h>
stub_warning(log);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (log10)
#include <gnu-stabs.h>
stub_warning(log10);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (mkfifo)
#include <gnu-stabs.h>
stub_warning(mkfifo);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (__default_morecore)
#include <gnu-stabs.h>
stub_warning(__default_morecore);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -29,11 +29,4 @@ DEFUN(nice, (incr), int incr)
return -1; return -1;
} }
stub_warning (nice)
#ifdef HAVE_GNU_LD
#include <gnu-stabs.h>
stub_warning (nice);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (nlist)
#include <gnu-stabs.h>
stub_warning(nlist);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (opendir)
#include <gnu-stabs.h>
stub_warning(opendir);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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; return -1;
} }
stub_warning (popen)
#ifdef HAVE_GNU_LD stub_warning (pclose)
#include <gnu-stabs.h>
stub_warning(popen);
stub_warning(pclose);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (ptrace)
#include <gnu-stabs.h>
stub_warning(ptrace);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (putenv)
#include <gnu-stabs.h>
stub_warning(putenv);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (readdir)
#include <gnu-stabs.h>
stub_warning(readdir);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (reboot)
#include <gnu-stabs.h>
stub_warning(reboot);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (recv)
#include <gnu-stabs.h>
stub_warning(recv);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (recvfrom)
#include <gnu-stabs.h>
stub_warning(recvfrom);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (rename)
#include <gnu-stabs.h>
stub_warning(rename);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (rewinddir)
#include <gnu-stabs.h>
stub_warning(rewinddir);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (seekdir)
#include <gnu-stabs.h>
stub_warning(seekdir);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (send)
#include <gnu-stabs.h>
stub_warning(send);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (sendto)
#include <gnu-stabs.h>
stub_warning(sendto);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (setegid)
#include <gnu-stabs.h>
stub_warning(setegid);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (seteuid)
#include <gnu-stabs.h>
stub_warning(seteuid);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (setgroups)
#include <gnu-stabs.h>
stub_warning(setgroups);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (sethostid)
#include <gnu-stabs.h>
stub_warning(sethostid);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (sethostname)
#include <gnu-stabs.h>
stub_warning(sethostname);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (__sigsetjmp)
#include <gnu-stabs.h>
stub_warning(__sigsetjmp);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -30,11 +30,4 @@ DEFUN(setpriority, (which, who, prio),
return -1; return -1;
} }
stub_warning (setpriority)
#ifdef HAVE_GNU_LD
#include <gnu-stabs.h>
stub_warning(setpriority);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (setrlimit)
#include <gnu-stabs.h>
stub_warning(setrlimit);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (setsockopt)
#include <gnu-stabs.h>
stub_warning(setsockopt);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (shutdown)
#include <gnu-stabs.h>
stub_warning(shutdown);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (signal)
#include <gnu-stabs.h>
stub_warning(signal);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (sigsuspend)
#include <gnu-stabs.h>
stub_warning(sigsuspend);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (sin)
#include <gnu-stabs.h>
stub_warning(sin);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (sinh)
#include <gnu-stabs.h>
stub_warning(sinh);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (socket)
#include <gnu-stabs.h>
stub_warning(socket);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (socketpair)
#include <gnu-stabs.h>
stub_warning(socketpair);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (sqrt)
#include <gnu-stabs.h>
stub_warning(sqrt);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -29,10 +29,4 @@ DEFUN_VOID(sync)
} }
#ifdef HAVE_GNU_LD stub_warning (sync)
#include <gnu-stabs.h>
stub_warning(sync);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (__stdio_read)
stub_warning (__stdio_write)
#include <gnu-stabs.h> stub_warning (__stdio_seek)
stub_warning (__stdio_close)
stub_warning(__stdio_read); stub_warning (__stdio_fileno)
stub_warning(__stdio_write); stub_warning (__stdio_open)
stub_warning(__stdio_seek); stub_warning (__stdio_reopen)
stub_warning(__stdio_close);
stub_warning(__stdio_fileno);
stub_warning(__stdio_open);
stub_warning(__stdio_reopen);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (system)
#include <gnu-stabs.h>
stub_warning(system);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (tan)
#include <gnu-stabs.h>
stub_warning(tan);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (tanh)
#include <gnu-stabs.h>
stub_warning(tanh);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (tcdrain)
#include <gnu-stabs.h>
stub_warning(tcdrain);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (tcflow)
#include <gnu-stabs.h>
stub_warning(tcflow);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (tcgetpgrp)
#include <gnu-stabs.h>
stub_warning(tcgetpgrp);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (tcsendbreak)
#include <gnu-stabs.h>
stub_warning(tcsendbreak);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (tcsetattr)
#include <gnu-stabs.h>
stub_warning(tcsetattr);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (tcsetpgrp)
#include <gnu-stabs.h>
stub_warning(tcsetpgrp);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (telldir)
#include <gnu-stabs.h>
stub_warning(telldir);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (__stdio_gen_tempname)
#include <gnu-stabs.h>
stub_warning(__stdio_gen_tempname);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (ttyname)
#include <gnu-stabs.h>
stub_warning(ttyname);
#endif /* GNU stabs. */

View File

@ -33,10 +33,4 @@ ttyname_r (fd, buf, buflen)
} }
#ifdef HAVE_GNU_LD stub_warning (ttyname_r)
#include <gnu-stabs.h>
stub_warning(ttyname_r);
#endif /* GNU stabs. */

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 stub_warning (utime)
#include <gnu-stabs.h>
stub_warning(utime);
#endif /* GNU stabs. */

View File

@ -64,7 +64,10 @@ for unix_function in \
access select getgroups setgroups \ access select getgroups setgroups \
getitimer setitimer \ getitimer setitimer \
getdomainname/getdomain=bsd/bsd4.4 \ getdomainname/getdomain=bsd/bsd4.4 \
setdomainname/setdomain=bsd/bsd4.4 setdomainname/setdomain=bsd/bsd4.4 \
profil=bsd \
getpriority setpriority \
getrlimit setrlimit
do do
# $unix_function => $unix_syscall $unix_srcname # $unix_function => $unix_syscall $unix_srcname

View File

@ -72,7 +72,9 @@ for unix_function in \
getitimer setitimer \ getitimer setitimer \
getdomainname/getdomain=bsd/bsd4.4 \ getdomainname/getdomain=bsd/bsd4.4 \
setdomainname/setdomain=bsd/bsd4.4 \ setdomainname/setdomain=bsd/bsd4.4 \
profil=bsd profil=bsd \
getpriority setpriority \
getrlimit setrlimit
do do
# $unix_function => $unix_syscall $unix_srcname # $unix_function => $unix_syscall $unix_srcname

View File

@ -29,7 +29,7 @@ Cambridge, MA 02139, USA. */
/* For ELF we need the `.type' directive to make shared libs work right. */ /* For ELF we need the `.type' directive to make shared libs work right. */
#ifdef HAVE_ELF #ifdef HAVE_ELF
#define ASM_TYPE_DIRECTIVE(name,type) .type name,type; #define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
#else #else
#define ASM_TYPE_DIRECTIVE(name,type) /* Nothing is specified. */ #define ASM_TYPE_DIRECTIVE(name,type) /* Nothing is specified. */
#endif #endif

View File

@ -413,7 +413,7 @@ localtime_r (t, tp)
{ {
struct tm *l = localtime (t); struct tm *l = localtime (t);
if (! l) if (! l)
return NULL; return 0;
*tp = *l; *tp = *l;
return tp; return tp;
} }