diff options
author | Andreas Jaeger <aj@suse.de> | 2001-01-24 08:48:10 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-01-24 08:48:10 +0000 |
commit | 1f3109a5f8b7facf9fa655ce48da3be0767141cd (patch) | |
tree | 6f9d332639b4f9ec69b18e17fcfed928df4588b5 /sysdeps/unix | |
parent | 7eff7a05a287495fd186d158793ae3c62094031f (diff) | |
download | glibc-1f3109a5f8b7facf9fa655ce48da3be0767141cd.zip glibc-1f3109a5f8b7facf9fa655ce48da3be0767141cd.tar.gz glibc-1f3109a5f8b7facf9fa655ce48da3be0767141cd.tar.bz2 |
Update.
2001-01-24 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
prototype.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
* include/sys/sysctl.h: New.
* stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
isomac.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-osinfo.h | 7 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/init-first.c | 6 |
2 files changed, 2 insertions, 11 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h index 1a94d17..2d705b0 100644 --- a/sysdeps/unix/sysv/linux/dl-osinfo.h +++ b/sysdeps/unix/sysv/linux/dl-osinfo.h @@ -1,5 +1,5 @@ /* Operating system specific code for generic dynamic loader functions. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 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 @@ -26,11 +26,6 @@ # define MIN(a,b) (((a)<(b))?(a):(b)) #endif -/* There is no prototype for __sysctl in that file. */ -extern int __sysctl (int *name, int nlen, void *oldval, - size_t *oldlenp, void *newval, size_t newlen); - - #ifdef SHARED /* This is the function used in the dynamic linker to print the fatal error message. */ diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c index af4e9c6..512a696 100644 --- a/sysdeps/unix/sysv/linux/init-first.c +++ b/sysdeps/unix/sysv/linux/init-first.c @@ -1,5 +1,5 @@ /* Initialization code run first thing by the ELF startup code. Linux version. - Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000, 2001 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,6 @@ extern void __libc_init (int, char **, char **); /* The function is called from assembly stubs the compiler can't see. */ static void init (int, char **, char **) __attribute__ ((unused)); -/* The function we use to get the kernel revision. */ -extern int __sysctl (int *name, int nlen, void *oldval, size_t *oldlenp, - void *newval, size_t newlen); - extern int _dl_starting_up; weak_extern (_dl_starting_up) |