aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-28 07:58:08 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-28 07:58:08 +0000
commit728c24ff873375212e043814e397bad087a4a5e5 (patch)
treefee1e2e296bc80c46d39e25cf5dfb3f243e0daad /elf
parenta7cfa3418981396e90259096a2fd5648d13f83cf (diff)
downloadglibc-728c24ff873375212e043814e397bad087a4a5e5.zip
glibc-728c24ff873375212e043814e397bad087a4a5e5.tar.gz
glibc-728c24ff873375212e043814e397bad087a4a5e5.tar.bz2
Update.
* elf/dl-minimal.c: Add prototypes. * include/locale.h: Add internal prototypes. * include/sys/gmon.h: Likewise.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-minimal.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
index 7c9a612..6097ef1 100644
--- a/elf/dl-minimal.c
+++ b/elf/dl-minimal.c
@@ -33,6 +33,20 @@
static void *alloc_ptr, *alloc_end, *alloc_last_block;
+/* Declarations of global functions. */
+extern void weak_function free (void *ptr);
+extern void * weak_function realloc (void *ptr, size_t n);
+extern long int weak_function __strtol_internal (const char *nptr,
+ char **endptr,
+ int base, int group);
+extern long int weak_function strtol (const char *nptr, char **endptr,
+ int base);
+extern unsigned long int weak_function __strtoul_internal
+(const char *nptr, char **endptr, int base, int group);
+extern unsigned long int weak_function strtoul (const char *nptr,
+ char **endptr, int base);
+
+
void * weak_function
malloc (size_t n)
{