about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/getpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/getpid.c')
-rw-r--r--sysdeps/mach/hurd/getpid.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/getpid.c b/sysdeps/mach/hurd/getpid.c
index eb05e9e280..bc299f0419 100644
--- a/sysdeps/mach/hurd/getpid.c
+++ b/sysdeps/mach/hurd/getpid.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1995, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -20,6 +20,8 @@
 #include <unistd.h>
 #include <hurd.h>
 
+#undef __getpid
+
 /* Get the process ID of the calling process.  */
 pid_t
 __getpid ()
@@ -28,4 +30,5 @@ __getpid ()
   return _hurd_pid;
 }
 
+INTDEF(__getpid)
 weak_alias (__getpid, getpid)