svn commit: branches/uClibc-nptl/ldso/include

sjhill at uclibc.org sjhill at uclibc.org
Sat Oct 29 19:11:46 UTC 2005


Author: sjhill
Date: 2005-10-29 12:11:45 -0700 (Sat, 29 Oct 2005)
New Revision: 11989

Log:
Fix up dependencies for when 'extern' is used. This file is a mess
and I look forward to eliminating it soon.


Modified:
   branches/uClibc-nptl/ldso/include/ldsodefs.h


Changeset:
Modified: branches/uClibc-nptl/ldso/include/ldsodefs.h
===================================================================
--- branches/uClibc-nptl/ldso/include/ldsodefs.h	2005-10-29 19:09:51 UTC (rev 11988)
+++ branches/uClibc-nptl/ldso/include/ldsodefs.h	2005-10-29 19:11:45 UTC (rev 11989)
@@ -4,10 +4,14 @@
 #include <features.h>
 #include <tls.h>
 
-#ifdef IS_IN_rtld
-# define EXTERN
+#ifndef SHARED
+# define EXTERN extern
 #else
-# define EXTERN extern
+# ifdef IS_IN_rtld
+#  define EXTERN
+# else
+#  define EXTERN extern
+# endif
 #endif
 
 /* Non-shared code has no support for multiple namespaces.  */




More information about the uClibc-cvs mailing list