diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-31 19:13:04 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-31 19:13:04 +0000 |
commit | 66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f (patch) | |
tree | 5956e4edd32bea5f2cc2b721b7137765fab17d89 /sysdeps | |
parent | 72f70279f4fa34d123ec234c7295059ce15fb8ac (diff) | |
download | glibc-66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f.tar.gz |
Update.
* include/libc-internal.h: Add prototype for __libc_freeres.
* malloc/mtrace.c: Likewise.
* malloc/set-freeres.c: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/enbl-secure.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/get_clockfreq.c | 2 | ||||
-rw-r--r-- | sysdeps/generic/prof-freq.c | 1 | ||||
-rw-r--r-- | sysdeps/mach/hurd/profil.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/i386/i586/clock_getres.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/i386/i586/clock_gettime.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/get_clockfreq.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/init-first.c | 3 |
8 files changed, 12 insertions, 11 deletions
diff --git a/sysdeps/generic/enbl-secure.c b/sysdeps/generic/enbl-secure.c index 7dcd4391fa..fac79ea30e 100644 --- a/sysdeps/generic/enbl-secure.c +++ b/sysdeps/generic/enbl-secure.c @@ -1,5 +1,5 @@ /* Define and initialize the `__libc_enable_secure' flag. Generic version. - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 2000 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 @@ -21,7 +21,7 @@ dl-sysdep.c defines and initializes __libc_enable_secure. */ #include <unistd.h> - +#include <libc-internal.h> /* Safest assumption, if somehow the initializer isn't run. */ int __libc_enable_secure = 1; diff --git a/sysdeps/generic/get_clockfreq.c b/sysdeps/generic/get_clockfreq.c index 210ba27d1e..94f233c557 100644 --- a/sysdeps/generic/get_clockfreq.c +++ b/sysdeps/generic/get_clockfreq.c @@ -17,6 +17,8 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <libc-internal.h> + unsigned long long int __get_clockfreq (void) { diff --git a/sysdeps/generic/prof-freq.c b/sysdeps/generic/prof-freq.c index 43b421df54..0610534ad1 100644 --- a/sysdeps/generic/prof-freq.c +++ b/sysdeps/generic/prof-freq.c @@ -31,6 +31,7 @@ #include <sys/types.h> #include <sys/time.h> +#include <libc-internal.h> int __profile_frequency (void) diff --git a/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c index 365b11bed3..f070d69e7a 100644 --- a/sysdeps/mach/hurd/profil.c +++ b/sysdeps/mach/hurd/profil.c @@ -1,5 +1,5 @@ /* Low-level statistical profiling support function. Mach/Hurd version. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 2000 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 @@ -25,6 +25,8 @@ #include <mach/pc_sample.h> #include <cthreads.h> #include <assert.h> +#include <libc-internal.h> + #define MAX_PC_SAMPLES 512 /* XXX ought to be exported in kernel hdr */ diff --git a/sysdeps/unix/i386/i586/clock_getres.c b/sysdeps/unix/i386/i586/clock_getres.c index 49986f85ab..dd0af535ef 100644 --- a/sysdeps/unix/i386/i586/clock_getres.c +++ b/sysdeps/unix/i386/i586/clock_getres.c @@ -18,6 +18,7 @@ #include <sys/param.h> #include <sys/time.h> +#include <libc-internal.h> /* This implementation uses the TSC register in modern (i586 and up) IA-32 processors (most modern clones also provide it). Since we need the @@ -27,9 +28,6 @@ faster processors will not work without changes. */ -/* Function to determine processor frequency. */ -extern unsigned long long int __get_clockfreq (void); - /* Clock frequency of the processor. We make it a 64-bit variable because some jokers are already playing with processors with more than 4GHz. */ diff --git a/sysdeps/unix/i386/i586/clock_gettime.c b/sysdeps/unix/i386/i586/clock_gettime.c index 5d0e9f4c60..636744e4d6 100644 --- a/sysdeps/unix/i386/i586/clock_gettime.c +++ b/sysdeps/unix/i386/i586/clock_gettime.c @@ -17,6 +17,7 @@ Boston, MA 02111-1307, USA. */ #include <sys/time.h> +#include <libc-internal.h> /* This implementation uses the TSC register in modern (i586 and up) IA-32 processors (most modern clones also provide it). Since we need the @@ -26,9 +27,6 @@ faster processors will not work without changes. */ -/* Function to determine processor frequency. */ -extern unsigned long long int __get_clockfreq (void); - /* Clock frequency of the processor. We make it a 64-bit variable because some jokers are already playing with processors with more than 4GHz. */ diff --git a/sysdeps/unix/sysv/linux/i386/get_clockfreq.c b/sysdeps/unix/sysv/linux/i386/get_clockfreq.c index 26784c6da0..ec6c174421 100644 --- a/sysdeps/unix/sysv/linux/i386/get_clockfreq.c +++ b/sysdeps/unix/sysv/linux/i386/get_clockfreq.c @@ -21,6 +21,7 @@ #include <fcntl.h> #include <string.h> #include <unistd.h> +#include <libc-internal.h> unsigned long long int diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c index 0e5b4a287d..af4e9c6d54 100644 --- a/sysdeps/unix/sysv/linux/init-first.c +++ b/sysdeps/unix/sysv/linux/init-first.c @@ -26,14 +26,13 @@ #include <sys/param.h> #include <sys/types.h> #include "kernel-features.h" +#include <libc-internal.h> #ifndef SHARED # include "dl-osinfo.h" #endif -extern void __libc_init_secure (void); extern void __libc_init (int, char **, char **); -extern void __libc_global_ctors (void); /* The function is called from assembly stubs the compiler can't see. */ static void init (int, char **, char **) __attribute__ ((unused)); |