about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/fork.c')
-rw-r--r--sysdeps/mach/hurd/fork.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/fork.c b/sysdeps/mach/hurd/fork.c
index 635110a9cb..b730b344f3 100644
--- a/sysdeps/mach/hurd/fork.c
+++ b/sysdeps/mach/hurd/fork.c
@@ -27,6 +27,8 @@
 #include <assert.h>
 #include "hurdmalloc.h"		/* XXX */
 
+#undef __fork
+
 
 /* Things that want to be locked while forking.  */
 symbol_set_declare (_hurd_fork_locks)
@@ -675,4 +677,5 @@ __fork (void)
   return err ? __hurd_fail (err) : pid;
 }
 
+INTDEF(__fork)
 weak_alias (__fork, fork)