This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Missing libc_hidden_xxx declarartions


Some stub functions and some stdio functions in a single-threaded lib
were missing ``libc_hidden_ver, ``libc_hidden_weak'',
etc. declarations.  

~velco
diff -rudpN libc/tags/initial/libio/iofflush.c libc/trunk/libio/iofflush.c
--- libc/tags/initial/libio/iofflush.c	Sun Nov 24 23:43:27 2002
+++ libc/trunk/libio/iofflush.c	Sun Nov 24 23:33:27 2002
@@ -53,5 +53,6 @@ weak_alias (_IO_fflush, fflush)
 
 #ifndef _IO_MTSAFE_IO
 weak_alias (_IO_fflush, fflush_unlocked)
+libc_hidden_weak (fflush_unlocked)
 #endif
 #endif
diff -rudpN libc/tags/initial/libio/iofwrite.c libc/trunk/libio/iofwrite.c
--- libc/tags/initial/libio/iofwrite.c	Sun Nov 24 23:43:30 2002
+++ libc/trunk/libio/iofwrite.c	Sun Nov 24 23:33:30 2002
@@ -58,5 +58,6 @@ weak_alias (_IO_fwrite, fwrite)
 libc_hidden_weak (fwrite)
 # ifndef _IO_MTSAFE_IO
 weak_alias (_IO_fwrite, fwrite_unlocked)
+libc_hidden_weak (fwrite_unlocked)
 # endif
 #endif
diff -rudpN libc/tags/initial/sysdeps/generic/sigtimedwait.c libc/trunk/sysdeps/generic/sigtimedwait.c
--- libc/tags/initial/sysdeps/generic/sigtimedwait.c	Sun Nov 24 23:48:37 2002
+++ libc/trunk/sysdeps/generic/sigtimedwait.c	Sun Nov 24 23:38:11 2002
@@ -27,6 +27,7 @@ __sigtimedwait (const sigset_t *set, sig
   __set_errno (ENOSYS);
   return -1;
 }
+hidden_def (__sigtimedwait)
 weak_alias (__sigtimedwait, sigtimedwait)
 
 stub_warning (sigtimedwait)
diff -rudpN libc/tags/initial/sysdeps/generic/sigwaitinfo.c libc/trunk/sysdeps/generic/sigwaitinfo.c
--- libc/tags/initial/sysdeps/generic/sigwaitinfo.c	Sun Nov 24 23:48:48 2002
+++ libc/trunk/sysdeps/generic/sigwaitinfo.c	Sun Nov 24 23:38:25 2002
@@ -26,6 +26,7 @@ __sigwaitinfo (const sigset_t *set, sigi
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (__sigwaitinfo)
 weak_alias (__sigwaitinfo, sigwaitinfo)
 
 stub_warning (sigwaitinfo)
diff -rudpN libc/tags/initial/sysdeps/posix/sigwait.c libc/trunk/sysdeps/posix/sigwait.c
--- libc/tags/initial/sysdeps/posix/sigwait.c	Sun Nov 24 23:48:34 2002
+++ libc/trunk/sysdeps/posix/sigwait.c	Sun Nov 24 23:38:09 2002
@@ -80,6 +80,7 @@ __sigwait (const sigset_t *set, int *sig
   *sig = was_sig;
   return was_sig == -1 ? -1 : 0;
 }
+libc_hidden_def (__sigwait)
 weak_alias (__sigwait, sigwait)
 
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]