diff options
Diffstat (limited to 'sysdeps/mach/hurd/getpid.c')
-rw-r--r-- | sysdeps/mach/hurd/getpid.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/getpid.c b/sysdeps/mach/hurd/getpid.c index bc299f0419..5b21ac5a99 100644 --- a/sysdeps/mach/hurd/getpid.c +++ b/sysdeps/mach/hurd/getpid.c @@ -20,8 +20,6 @@ #include <unistd.h> #include <hurd.h> -#undef __getpid - /* Get the process ID of the calling process. */ pid_t __getpid () @@ -29,6 +27,5 @@ __getpid () /* Assumes atomic word fetch and store, so doesn't lock _hurd_pid_lock. */ return _hurd_pid; } - -INTDEF(__getpid) +libc_hidden_def (__getpid) weak_alias (__getpid, getpid) |