OSDN Git Service

add hidden_proto's for __uc_malloc
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 12 Feb 2008 20:31:44 +0000 (20:31 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 12 Feb 2008 20:31:44 +0000 (20:31 -0000)
(patch by Bernd Schmidt <bernds_cb1 at t-online.de>)

12 files changed:
libc/inet/getnetent.c
libc/inet/getproto.c
libc/inet/getservice.c
libc/inet/resolv.c
libc/inet/rpc/ruserpass.c
libc/misc/mntent/mntent.c
libc/misc/regex/regex_old.c
libc/misc/ttyent/getttyent.c
libc/misc/utmp/utent.c
libc/pwd_grp/pwd_grp.c
libc/stdlib/__uc_malloc.c
libc/unistd/getpass.c

index 99d87a3..eacfd70 100644 (file)
@@ -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);
index 6367ccf..acd2667 100644 (file)
@@ -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);
index 9ea810b..09c2f9b 100644 (file)
@@ -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);
index 5df8fec..96d5b00 100644 (file)
@@ -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)
 
 
 
index b18bbf5..198355d 100644 (file)
@@ -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" */
index 3f46eb2..35b38bb 100644 (file)
@@ -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, 
index 997ee6f..bdede30 100644 (file)
@@ -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
index e68eb8a..38caeb7 100644 (file)
@@ -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;
index 51184f0..ac53f1d 100644 (file)
@@ -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);
index ab6f8f0..4bf5ff0 100644 (file)
@@ -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. */
index b96e8c4..2ce00f2 100644 (file)
@@ -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);
 
index 9eb28ae..2521853 100644 (file)
@@ -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