Browse Source

add hidden_proto's for __uc_malloc
(patch by Bernd Schmidt <bernds_cb1 at t-online.de>)

Denis Vlasenko 16 years ago
parent
commit
9c6cdf5450

+ 2 - 0
libc/inet/getnetent.c

@@ -29,6 +29,8 @@ libc_hidden_proto(inet_network)
 libc_hidden_proto(rewind)
 libc_hidden_proto(rewind)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fgets)
 libc_hidden_proto(abort)
 libc_hidden_proto(abort)
+libc_hidden_proto(__uc_malloc)
+
 
 
 #include <bits/uClibc_mutex.h>
 #include <bits/uClibc_mutex.h>
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER);
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER);

+ 1 - 0
libc/inet/getproto.c

@@ -70,6 +70,7 @@ libc_hidden_proto(rewind)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
 libc_hidden_proto(abort)
 libc_hidden_proto(abort)
+libc_hidden_proto(__uc_malloc)
 
 
 #include <bits/uClibc_mutex.h>
 #include <bits/uClibc_mutex.h>
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);

+ 1 - 0
libc/inet/getservice.c

@@ -72,6 +72,7 @@ libc_hidden_proto(atoi)
 libc_hidden_proto(rewind)
 libc_hidden_proto(rewind)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fgets)
 libc_hidden_proto(abort)
 libc_hidden_proto(abort)
+libc_hidden_proto(__uc_malloc)
 
 
 #include <bits/uClibc_mutex.h>
 #include <bits/uClibc_mutex.h>
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);

+ 1 - 0
libc/inet/resolv.c

@@ -221,6 +221,7 @@ libc_hidden_proto(__ctype_b_loc)
 #elif __UCLIBC_HAS_CTYPE_TABLES__
 #elif __UCLIBC_HAS_CTYPE_TABLES__
 libc_hidden_proto(__ctype_b)
 libc_hidden_proto(__ctype_b)
 #endif
 #endif
+libc_hidden_proto(__uc_malloc)
 
 
 
 
 
 

+ 1 - 0
libc/inet/rpc/ruserpass.c

@@ -65,6 +65,7 @@ libc_hidden_proto(fopen)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
 libc_hidden_proto(getc_unlocked)
 libc_hidden_proto(getc_unlocked)
 libc_hidden_proto(__fgetc_unlocked)
 libc_hidden_proto(__fgetc_unlocked)
+libc_hidden_proto(__uc_malloc)
 
 
 #define _(X)  (X)
 #define _(X)  (X)
 /* #include "ftp_var.h" */
 /* #include "ftp_var.h" */

+ 1 - 0
libc/misc/mntent/mntent.c

@@ -26,6 +26,7 @@ libc_hidden_proto(fseek)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fgets)
 libc_hidden_proto(abort)
 libc_hidden_proto(abort)
 libc_hidden_proto(fprintf)
 libc_hidden_proto(fprintf)
+libc_hidden_proto(__uc_malloc)
 
 
 /* Reentrant version of getmntent.  */
 /* Reentrant version of getmntent.  */
 struct mntent *getmntent_r (FILE *filep, 
 struct mntent *getmntent_r (FILE *filep, 

+ 1 - 0
libc/misc/regex/regex_old.c

@@ -48,6 +48,7 @@ libc_hidden_proto(abort)
 #ifdef __USE_GNU
 #ifdef __USE_GNU
 libc_hidden_proto(mempcpy)
 libc_hidden_proto(mempcpy)
 #endif
 #endif
+libc_hidden_proto(__uc_malloc)
 
 
 /* AIX requires this to be the first thing in the file. */
 /* AIX requires this to be the first thing in the file. */
 #if defined _AIX && !defined REGEX_MALLOC
 #if defined _AIX && !defined REGEX_MALLOC

+ 1 - 0
libc/misc/ttyent/getttyent.c

@@ -55,6 +55,7 @@ libc_hidden_proto(__ctype_b_loc)
 #elif __UCLIBC_HAS_CTYPE_TABLES__
 #elif __UCLIBC_HAS_CTYPE_TABLES__
 libc_hidden_proto(__ctype_b)
 libc_hidden_proto(__ctype_b)
 #endif
 #endif
+libc_hidden_proto(__uc_malloc)
 
 
 static char zapchar;
 static char zapchar;
 static FILE *tf;
 static FILE *tf;

+ 1 - 0
libc/misc/utmp/utent.c

@@ -30,6 +30,7 @@ libc_hidden_proto(open)
 libc_hidden_proto(fcntl)
 libc_hidden_proto(fcntl)
 libc_hidden_proto(close)
 libc_hidden_proto(close)
 libc_hidden_proto(lseek)
 libc_hidden_proto(lseek)
+libc_hidden_proto(__uc_malloc)
 
 
 #include <bits/uClibc_mutex.h>
 #include <bits/uClibc_mutex.h>
 __UCLIBC_MUTEX_STATIC(utmplock, PTHREAD_MUTEX_INITIALIZER);
 __UCLIBC_MUTEX_STATIC(utmplock, PTHREAD_MUTEX_INITIALIZER);

+ 1 - 0
libc/pwd_grp/pwd_grp.c

@@ -54,6 +54,7 @@ libc_hidden_proto(__ctype_b_loc)
 #elif __UCLIBC_HAS_CTYPE_TABLES__
 #elif __UCLIBC_HAS_CTYPE_TABLES__
 libc_hidden_proto(__ctype_b)
 libc_hidden_proto(__ctype_b)
 #endif
 #endif
+libc_hidden_proto(__uc_malloc)
 
 
 /**********************************************************************/
 /**********************************************************************/
 /* Prototypes for internal functions. */
 /* Prototypes for internal functions. */

+ 1 - 0
libc/stdlib/__uc_malloc.c

@@ -22,6 +22,7 @@ Cambridge, MA 02139, USA.
 #include <unistd.h>
 #include <unistd.h>
 #include <malloc.h>
 #include <malloc.h>
 
 
+libc_hidden_proto(_exit);
 libc_hidden_proto(__uc_malloc);
 libc_hidden_proto(__uc_malloc);
 libc_hidden_proto(__uc_malloc_failed);
 libc_hidden_proto(__uc_malloc_failed);
 
 

+ 1 - 0
libc/unistd/getpass.c

@@ -37,6 +37,7 @@ libc_hidden_proto(fputs)
 libc_hidden_proto(fputc)
 libc_hidden_proto(fputc)
 libc_hidden_proto(putc)
 libc_hidden_proto(putc)
 libc_hidden_proto(__fputc_unlocked)
 libc_hidden_proto(__fputc_unlocked)
+libc_hidden_proto(__uc_malloc)
 
 
 /* It is desirable to use this bit on systems that have it.
 /* 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
    The only bit of terminal state we want to twiddle is echoing, which is