From 0d212a2b26a764bba1c8220ee84547247bd78ad8 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 15 Jan 2006 22:41:03 +0000 Subject: make gcc4 happy w/ hidden_def/proto, correct some typos --- libpthread/linuxthreads.old/forward.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'libpthread') 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 -#include "internals.h" +#include #include +#include -#include +/* 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, -- cgit v1.2.3