]> sourceware.org Git - glibc.git/commitdiff
Hurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED.
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 10 May 2012 20:10:21 +0000 (13:10 -0700)
committerRoland McGrath <roland@hack.frob.com>
Thu, 10 May 2012 22:57:23 +0000 (15:57 -0700)
ChangeLog
sysdeps/mach/hurd/dl-sysdep.c

index 83afde7d03293d08dddd6a5709ac89cc6a7e6479..cab048947eb52eeb17697532cd3aa073ac93bc1b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
+       * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
+
         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
         HURD_CRITICAL_END around holding _hurd_dtable_lock.
         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
index 26a212ef98812d4f5501b0464e81ed934e7477d2..13b00104367f0c781f3cd03f05924c1592f80a80 100644 (file)
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* In the static library, this is all handled by dl-support.c
+   or by the vanilla definitions in the rest of the C library.  */
+#ifdef SHARED
+
 #include <hurd.h>
 #include <link.h>
 #include <unistd.h>
@@ -667,3 +671,5 @@ _dl_init_first (int argc, ...)
 {
   /* This no-op definition only gets used if libc is not linked in.  */
 }
+
+#endif /* SHARED */
This page took 0.107889 seconds and 5 git commands to generate.