summaryrefslogtreecommitdiff
path: root/pwd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-10-02 01:40:17 +0000
committerUlrich Drepper <drepper@redhat.com>1996-10-02 01:40:17 +0000
commita68b0d31a37a86785b3dbeeee3fad96ee71fadcd (patch)
tree61537b1f028002a9e6e0f5354fced6128bda8b9c /pwd
parent2d07133b507b13d4a5ed6dc250f4345c8a26942a (diff)
update from main archive 961001
Diffstat (limited to 'pwd')
-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)