summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-12 20:31:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-12 20:31:44 +0000
commit9c6cdf5450db11f3689c6dc235647d4f0dd0a542 (patch)
treef4591663501f84386d725fd52c6f2f368de82d77 /libc/misc
parentfa1f7630f828e52ab68be7a5dd30f8748171cd01 (diff)
add hidden_proto's for __uc_malloc
(patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/mntent/mntent.c1
-rw-r--r--libc/misc/regex/regex_old.c1
-rw-r--r--libc/misc/ttyent/getttyent.c1
-rw-r--r--libc/misc/utmp/utent.c1
4 files changed, 4 insertions, 0 deletions
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 <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(utmplock, PTHREAD_MUTEX_INITIALIZER);