Mercurial > emacs
diff src/filelock.c @ 4272:41c85882768c
(getpwuid): Declare at top level, and not if __386bsd__.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 25 Jul 1993 06:35:25 +0000 |
parents | f71f3f167365 |
children | 2ed300d36643 |
line wrap: on
line diff
--- a/src/filelock.c Sun Jul 25 06:34:47 1993 +0000 +++ b/src/filelock.c Sun Jul 25 06:35:25 1993 +0000 @@ -42,6 +42,10 @@ extern char *egetenv (); extern char *strcpy (); +#ifndef (__386bsd__) +extern struct passwd *getpwuid (); +#endif + #ifdef CLASH_DETECTION /* If system does not have symbolic links, it does not have lstat. @@ -140,7 +144,6 @@ { struct stat s; struct passwd *the_pw; - extern struct passwd *getpwuid (); if (lstat (lfname, &s) == 0) the_pw = getpwuid (s.st_uid);