Mercurial > emacs
changeset 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 | fd05e9662279 |
children | 79dc5c3370f8 |
files | src/filelock.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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);