summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/inet/getnetent.c2
-rw-r--r--libc/inet/getproto.c1
-rw-r--r--libc/inet/getservice.c1
-rw-r--r--libc/inet/resolv.c1
-rw-r--r--libc/inet/rpc/ruserpass.c1
-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
-rw-r--r--libc/pwd_grp/pwd_grp.c1
-rw-r--r--libc/stdlib/__uc_malloc.c1
-rw-r--r--libc/unistd/getpass.c1
12 files changed, 13 insertions, 0 deletions
diff --git a/libc/inet/getnetent.c b/libc/inet/getnetent.c
index 99d87a3df..eacfd709d 100644
--- a/libc/inet/getnetent.c
+++ b/libc/inet/getnetent.c
@@ -29,6 +29,8 @@ libc_hidden_proto(inet_network)
libc_hidden_proto(rewind)
libc_hidden_proto(fgets)
libc_hidden_proto(abort)
+libc_hidden_proto(__uc_malloc)
+
#include <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER);
diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c
index 6367ccfce..acd2667de 100644
--- a/libc/inet/getproto.c
+++ b/libc/inet/getproto.c
@@ -70,6 +70,7 @@ libc_hidden_proto(rewind)
libc_hidden_proto(fgets)
libc_hidden_proto(fclose)
libc_hidden_proto(abort)
+libc_hidden_proto(__uc_malloc)
#include <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index 9ea810be0..09c2f9b94 100644
--- a/libc/inet/getservice.c
+++ b/libc/inet/getservice.c
@@ -72,6 +72,7 @@ libc_hidden_proto(atoi)
libc_hidden_proto(rewind)
libc_hidden_proto(fgets)
libc_hidden_proto(abort)
+libc_hidden_proto(__uc_malloc)
#include <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 5df8fecaa..96d5b00ec 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -221,6 +221,7 @@ libc_hidden_proto(__ctype_b_loc)
#elif __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
#endif
+libc_hidden_proto(__uc_malloc)
diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c
index b18bbf5b7..198355de7 100644
--- a/libc/inet/rpc/ruserpass.c
+++ b/libc/inet/rpc/ruserpass.c
@@ -65,6 +65,7 @@ libc_hidden_proto(fopen)
libc_hidden_proto(fclose)
libc_hidden_proto(getc_unlocked)
libc_hidden_proto(__fgetc_unlocked)
+libc_hidden_proto(__uc_malloc)
#define _(X) (X)
/* #include "ftp_var.h" */
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);
diff --git a/libc/pwd_grp/pwd_grp.c b/libc/pwd_grp/pwd_grp.c
index ab6f8f003..4bf5ff081 100644
--- a/libc/pwd_grp/pwd_grp.c
+++ b/libc/pwd_grp/pwd_grp.c
@@ -54,6 +54,7 @@ libc_hidden_proto(__ctype_b_loc)
#elif __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
#endif
+libc_hidden_proto(__uc_malloc)
/**********************************************************************/
/* Prototypes for internal functions. */
diff --git a/libc/stdlib/__uc_malloc.c b/libc/stdlib/__uc_malloc.c
index b96e8c469..2ce00f269 100644
--- a/libc/stdlib/__uc_malloc.c
+++ b/libc/stdlib/__uc_malloc.c
@@ -22,6 +22,7 @@ Cambridge, MA 02139, USA.
#include <unistd.h>
#include <malloc.h>
+libc_hidden_proto(_exit);
libc_hidden_proto(__uc_malloc);
libc_hidden_proto(__uc_malloc_failed);
diff --git a/libc/unistd/getpass.c b/libc/unistd/getpass.c
index 9eb28ae18..2521853e6 100644
--- a/libc/unistd/getpass.c
+++ b/libc/unistd/getpass.c
@@ -37,6 +37,7 @@ libc_hidden_proto(fputs)
libc_hidden_proto(fputc)
libc_hidden_proto(putc)
libc_hidden_proto(__fputc_unlocked)
+libc_hidden_proto(__uc_malloc)
/* It is desirable to use this bit on systems that have it.
The only bit of terminal state we want to twiddle is echoing, which is