comparison src/xrdb.c @ 4233:a4197ae1927d

(getpwuid): Test DECLARE_GETPWUID_WITH_UID_T.
author Richard M. Stallman <rms@gnu.org>
date Thu, 22 Jul 1993 22:03:11 +0000
parents f533d585cfc8
children 04bd0c1a6245
comparison
equal deleted inserted replaced
4232:f533d585cfc8 4233:a4197ae1927d
63 extern short getuid (); /* If this causes portability problems, 63 extern short getuid (); /* If this causes portability problems,
64 I think we should just delete it; it'll 64 I think we should just delete it; it'll
65 default to `int' anyway. */ 65 default to `int' anyway. */
66 #endif 66 #endif
67 67
68 #ifdef __bsdi__ 68 #if defined (__bsdi__) || defined (DECLARE_GETPWUID_WITH_UID_T)
69 extern struct passwd *getpwuid (uid_t); 69 extern struct passwd *getpwuid (uid_t);
70 extern struct passwd *getpwnam (const char *); 70 extern struct passwd *getpwnam (const char *);
71 #else 71 #else
72 extern struct passwd *getpwuid (); 72 extern struct passwd *getpwuid ();
73 extern struct passwd *getpwnam (); 73 extern struct passwd *getpwnam ();