aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-31 23:50:17 +0000
committerRichard M. Stallman1993-05-31 23:50:17 +0000
commit3e0be4d0f229ab2210c704cfb2590ddfa7ae6174 (patch)
treee235e825d2e01470337754b74402e5b665714f35 /src
parentcd1168e194b9883a4415e4c5720452885bf44f51 (diff)
downloademacs-3e0be4d0f229ab2210c704cfb2590ddfa7ae6174.tar.gz
emacs-3e0be4d0f229ab2210c704cfb2590ddfa7ae6174.zip
[__bsdi__]: Alternate decls of getpwuid and getpwnam.
Diffstat (limited to 'src')
-rw-r--r--src/xrdb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index fdce4e44a88..19ca21f9e02 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -63,8 +63,13 @@ extern short getuid (); /* If this causes portability problems,
63 default to `int' anyway. */ 63 default to `int' anyway. */
64#endif 64#endif
65 65
66#ifdef __bsdi__
67extern struct passwd *getpwuid (uid_t);
68extern struct passwd *getpwnam (const char *);
69#else
66extern struct passwd *getpwuid (); 70extern struct passwd *getpwuid ();
67extern struct passwd *getpwnam (); 71extern struct passwd *getpwnam ();
72#endif
68 73
69static char * 74static char *
70gethomedir (dirname) 75gethomedir (dirname)