HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c3d8ee
)
(getpwuid): Declare at top level, and not if __386bsd__.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 25 Jul 1993 06:35:25 +0000
(06:35 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 25 Jul 1993 06:35:25 +0000
(06:35 +0000)
src/filelock.c
patch
|
blob
|
blame
|
history
diff --git
a/src/filelock.c
b/src/filelock.c
index
a5b9fd2
..
0b51e14
100644
(file)
--- a/
src/filelock.c
+++ b/
src/filelock.c
@@
-42,6
+42,10
@@
extern int errno;
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
@@
lock_file_owner_name (lfname)
{
struct stat s;
struct passwd *the_pw;
- extern struct passwd *getpwuid ();
if (lstat (lfname, &s) == 0)
the_pw = getpwuid (s.st_uid);