projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc7e12
)
Put in prototype for initgroups() to get rid of "default prototype" warning. On
author
Dan Harkless
<dan@harkless.org>
Tue, 25 Jan 2000 05:52:31 +0000
(
05:52
+0000)
committer
Dan Harkless
<dan@harkless.org>
Tue, 25 Jan 2000 05:52:31 +0000
(
05:52
+0000)
AIX 4.1, at least, the function exists in libc.a but doesn't exist in any .h.
uip/slocal.c
patch
|
blob
|
history
diff --git
a/uip/slocal.c
b/uip/slocal.c
index
03dea14
..
dce9663
100644
(file)
--- a/
uip/slocal.c
+++ b/
uip/slocal.c
@@
-38,6
+38,8
@@
#include <utmp.h>
+extern int initgroups(char*, int); /* def'd in libc.a but no .h on AIX 4.1 */
+
#ifndef UTMP_FILE
# ifdef _PATH_UTMP
# define UTMP_FILE _PATH_UTMP