From: Dan Harkless Date: Tue, 25 Jan 2000 05:52:31 +0000 (+0000) Subject: Put in prototype for initgroups() to get rid of "default prototype" warning. On X-Git-Tag: nmh-1_0~119 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=411195e89109d7b1c0a0d552d1644837be781eeb;p=mmh Put in prototype for initgroups() to get rid of "default prototype" warning. On AIX 4.1, at least, the function exists in libc.a but doesn't exist in any .h. --- diff --git a/uip/slocal.c b/uip/slocal.c index 03dea14..dce9663 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -38,6 +38,8 @@ #include +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