(__pthread_provide_lockfile): New variable.
authordrepper <drepper>
Tue, 14 Aug 2001 23:21:24 +0000 (23:21 +0000)
committerdrepper <drepper>
Tue, 14 Aug 2001 23:21:24 +0000 (23:21 +0000)
linuxthreads/lockfile.c

index 38fa3fb..2654cd5 100644 (file)
 #include "../libio/libioP.h"
 #endif
 
+#ifndef SHARED
+/* We need a hook to force this file to be linked in when static
+   libpthread is used.  */
+const int __pthread_provide_lockfile = 0;
+#endif
+
 void
 __flockfile (FILE *stream)
 {