about summary refs log tree commit diff
path: root/linuxthreads/ptfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/ptfork.c')
-rw-r--r--linuxthreads/ptfork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/ptfork.c b/linuxthreads/ptfork.c
index 195ffcd1b0..9cdbb54361 100644
--- a/linuxthreads/ptfork.c
+++ b/linuxthreads/ptfork.c
@@ -78,6 +78,7 @@ pid_t __pthread_fork (struct fork_block *b)
   return pid;
 }
 
+#ifdef SHARED
 pid_t __fork (void)
 {
   return __libc_fork ();
@@ -89,3 +90,4 @@ pid_t __vfork(void)
   return __libc_fork ();
 }
 weak_alias (__vfork, vfork);
+#endif