diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-15 22:41:03 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-15 22:41:03 +0000 |
commit | 0d212a2b26a764bba1c8220ee84547247bd78ad8 (patch) | |
tree | e34fb551f34f3500c5fafc5234bb95e0b7722d6c /libpthread | |
parent | c50ee9bde4fa794cd2bb962dd1f3f44d0fbf8274 (diff) |
make gcc4 happy w/ hidden_def/proto, correct some typos
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/linuxthreads.old/forward.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libpthread/linuxthreads.old/forward.c b/libpthread/linuxthreads.old/forward.c index 8373b4d41..b6ff3d65b 100644 --- a/libpthread/linuxthreads.old/forward.c +++ b/libpthread/linuxthreads.old/forward.c @@ -17,13 +17,14 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include <dlfcn.h> -#include "internals.h" +#include <features.h> #include <stdlib.h> +#include <dlfcn.h> -#include <libc-internal.h> +/* psm: keep this before internals.h */ +libc_hidden_proto(exit) -libc_hidden_def(exit) +#include "internals.h" /* Pointers to the libc functions. */ struct pthread_functions __libc_pthread_functions attribute_hidden; @@ -103,7 +104,7 @@ FORWARD (pthread_equal, (pthread_t thread1, pthread_t thread2), /* Use an alias to avoid warning, as pthread_exit is declared noreturn. */ FORWARD2 (__pthread_exit, void, (void *retval), (retval), exit (EXIT_SUCCESS)) -strong_alias (__pthread_exit, pthread_exit); +strong_alias (__pthread_exit, pthread_exit) FORWARD (pthread_getschedparam, |