From 9c6cdf5450db11f3689c6dc235647d4f0dd0a542 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 12 Feb 2008 20:31:44 +0000 Subject: add hidden_proto's for __uc_malloc (patch by Bernd Schmidt ) --- libc/misc/mntent/mntent.c | 1 + libc/misc/regex/regex_old.c | 1 + libc/misc/ttyent/getttyent.c | 1 + libc/misc/utmp/utent.c | 1 + 4 files changed, 4 insertions(+) (limited to 'libc/misc') diff --git a/libc/misc/mntent/mntent.c b/libc/misc/mntent/mntent.c index 3f46eb2d2..35b38bbc2 100644 --- a/libc/misc/mntent/mntent.c +++ b/libc/misc/mntent/mntent.c @@ -26,6 +26,7 @@ libc_hidden_proto(fseek) libc_hidden_proto(fgets) libc_hidden_proto(abort) libc_hidden_proto(fprintf) +libc_hidden_proto(__uc_malloc) /* Reentrant version of getmntent. */ struct mntent *getmntent_r (FILE *filep, diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c index 997ee6f8b..bdede3097 100644 --- a/libc/misc/regex/regex_old.c +++ b/libc/misc/regex/regex_old.c @@ -48,6 +48,7 @@ libc_hidden_proto(abort) #ifdef __USE_GNU libc_hidden_proto(mempcpy) #endif +libc_hidden_proto(__uc_malloc) /* AIX requires this to be the first thing in the file. */ #if defined _AIX && !defined REGEX_MALLOC diff --git a/libc/misc/ttyent/getttyent.c b/libc/misc/ttyent/getttyent.c index e68eb8aa0..38caeb73f 100644 --- a/libc/misc/ttyent/getttyent.c +++ b/libc/misc/ttyent/getttyent.c @@ -55,6 +55,7 @@ libc_hidden_proto(__ctype_b_loc) #elif __UCLIBC_HAS_CTYPE_TABLES__ libc_hidden_proto(__ctype_b) #endif +libc_hidden_proto(__uc_malloc) static char zapchar; static FILE *tf; diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c index 51184f01f..ac53f1d30 100644 --- a/libc/misc/utmp/utent.c +++ b/libc/misc/utmp/utent.c @@ -30,6 +30,7 @@ libc_hidden_proto(open) libc_hidden_proto(fcntl) libc_hidden_proto(close) libc_hidden_proto(lseek) +libc_hidden_proto(__uc_malloc) #include __UCLIBC_MUTEX_STATIC(utmplock, PTHREAD_MUTEX_INITIALIZER); -- cgit v1.2.3