summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/ptfork.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:30:50 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:30:50 +0000
commitdfb199421b130157ef9154acb932d80b35fa2894 (patch)
treebf16be20c6ffb3cb09b889c036cc7085e3146ed3 /libpthread/linuxthreads.old/ptfork.c
parent1466eb283c8eee992835f66433c43fd4d31e92bc (diff)
prototypes for threads too
Diffstat (limited to 'libpthread/linuxthreads.old/ptfork.c')
-rw-r--r--libpthread/linuxthreads.old/ptfork.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/ptfork.c b/libpthread/linuxthreads.old/ptfork.c
index 38fb60e9d..2ecab8884 100644
--- a/libpthread/linuxthreads.old/ptfork.c
+++ b/libpthread/linuxthreads.old/ptfork.c
@@ -80,7 +80,8 @@ static inline void pthread_call_handlers(struct handler_list * list)
extern __typeof(fork) __libc_fork;
-pid_t attribute_hidden __fork(void)
+pid_t __fork(void) attribute_hidden;
+pid_t __fork(void)
{
pid_t pid;
struct handler_list * prepare, * child, * parent;