summary refs log tree commit diff
path: root/pwd/getpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'pwd/getpw.c')
-rw-r--r--pwd/getpw.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pwd/getpw.c b/pwd/getpw.c
index 0bd2ab9d0d..402fafd7f0 100644
--- a/pwd/getpw.c
+++ b/pwd/getpw.c
@@ -24,8 +24,11 @@ Cambridge, MA 02139, USA.  */
 /* Re-construct the password-file line for the given uid
    in the given buffer.  This knows the format that the caller
    will expect, but this need not be the format of the password file.  */
+
+int __getpw __P ((__uid_t uid, char *buf));
+
 int
-getpw (uid, buf)
+__getpw (uid, buf)
      __uid_t uid;
      register char *buf;
 {
@@ -47,3 +50,4 @@ getpw (uid, buf)
 
   return 0;
 }
+weak_alias (__getpw, getpw)