Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
79941276
Commit
79941276
authored
Jul 25, 1993
by
Richard M. Stallman
Browse files
(getpwuid): Declare at top level, and not if __386bsd__.
parent
1c3d8eeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/filelock.c
src/filelock.c
+4
-1
No files found.
src/filelock.c
View file @
79941276
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment