diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-18 01:09:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-18 01:09:55 +0000 |
commit | e8c6de1939e1f8a2898a0e53134fa175560b9469 (patch) | |
tree | 0d573525f6e657aa60bf04b4a7c3ddb9225f6347 /libpthread/linuxthreads.old/forward.c | |
parent | 508383b431a6ef45c0992fdd47064edb581c6214 (diff) |
libc_hidden_proto removal, just a few functions
Diffstat (limited to 'libpthread/linuxthreads.old/forward.c')
-rw-r--r-- | libpthread/linuxthreads.old/forward.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/forward.c b/libpthread/linuxthreads.old/forward.c index 5dc9cf4c0..aa5c8abd9 100644 --- a/libpthread/linuxthreads.old/forward.c +++ b/libpthread/linuxthreads.old/forward.c @@ -22,9 +22,9 @@ #include <dlfcn.h> /* psm: keep this before internals.h */ -libc_hidden_proto(exit) #if 0 vda: here is why: +headers contain libc_hidden_proto(foo). In libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h adding libc_hidden_proto(foo) just before weak_extern (__pthread_initialize) will not warn: @@ -38,6 +38,7 @@ TODO: determine whether it is a gcc bug or what For now, just include all headers before internals.h (they are again included in internals.h - maybe remove them there later) #endif + #include <string.h> #include <limits.h> #include <setjmp.h> |