diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-25 21:22:12 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-25 21:22:12 +0000 |
commit | d1855e95b1a1fb33e615bb3288254469784f525d (patch) | |
tree | 69da65e519f85678bdc6b107d57d0182f512be21 /lib/libc/compat-43/setrgid.c | |
parent | cf0e1677c426e0539c888215b099095102d48258 (diff) |
Add prototypes for internal functions
Diffstat (limited to 'lib/libc/compat-43/setrgid.c')
-rw-r--r-- | lib/libc/compat-43/setrgid.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/compat-43/setrgid.c b/lib/libc/compat-43/setrgid.c index b423d0984b0..f8840fea895 100644 --- a/lib/libc/compat-43/setrgid.c +++ b/lib/libc/compat-43/setrgid.c @@ -33,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)setrgid.c 5.5 (Berkeley) 2/23/91";*/ -static char *rcsid = "$Id: setrgid.c,v 1.1 1995/10/18 08:41:46 deraadt Exp $"; +static char *rcsid = "$Id: setrgid.c,v 1.2 1996/03/25 21:22:10 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -41,12 +41,14 @@ static char *rcsid = "$Id: setrgid.c,v 1.1 1995/10/18 08:41:46 deraadt Exp $"; __warn_references(setrgid, "warning: this program uses setrgid(), which is deprecated."); +extern int __setregid __P((gid_t, gid_t)); + int #ifdef __STDC__ setrgid(gid_t rgid) #else setrgid(rgid) - int rgid; + gid_t rgid; #endif { return (__setregid(rgid, -1)); |