about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/getpid.c1
-rw-r--r--sysdeps/mach/hurd/getsid.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/getpid.c b/sysdeps/mach/hurd/getpid.c
index 5b21ac5a99..a8324f2918 100644
--- a/sysdeps/mach/hurd/getpid.c
+++ b/sysdeps/mach/hurd/getpid.c
@@ -29,3 +29,4 @@ __getpid ()
 }
 libc_hidden_def (__getpid)
 weak_alias (__getpid, getpid)
+libc_hidden_weak (getpid)
diff --git a/sysdeps/mach/hurd/getsid.c b/sysdeps/mach/hurd/getsid.c
index fad75ef4a4..57c10c58b7 100644
--- a/sysdeps/mach/hurd/getsid.c
+++ b/sysdeps/mach/hurd/getsid.c
@@ -1,5 +1,5 @@
 /* getsid -- Return session ID of a process.  Hurd version.
-   Copyright (C) 1995, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1995,97,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
@@ -33,3 +33,4 @@ getsid (pid_t pid)
     return (pid_t) __hurd_fail (err);
   return sid;
 }
+libc_hidden_def (getsid)