Commit 3e0be4d0 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

[__bsdi__]: Alternate decls of getpwuid and getpwnam.

parent cd1168e1
......@@ -63,8 +63,13 @@ extern short getuid (); /* If this causes portability problems,
default to `int' anyway. */
#endif
#ifdef __bsdi__
extern struct passwd *getpwuid (uid_t);
extern struct passwd *getpwnam (const char *);
#else
extern struct passwd *getpwuid ();
extern struct passwd *getpwnam ();
#endif
static char *
gethomedir (dirname)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment