diff options
Diffstat (limited to 'lib/libc/compat-43/setregid.c')
-rw-r--r-- | lib/libc/compat-43/setregid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/compat-43/setregid.c b/lib/libc/compat-43/setregid.c index 49e910e6ebf..66ffe347b1d 100644 --- a/lib/libc/compat-43/setregid.c +++ b/lib/libc/compat-43/setregid.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: setregid.c,v 1.2 1996/08/19 08:19:31 tholo Exp $"; +static char *rcsid = "$OpenBSD: setregid.c,v 1.3 1997/01/19 22:32:14 graichen Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -40,7 +40,9 @@ static char *rcsid = "$OpenBSD: setregid.c,v 1.2 1996/08/19 08:19:31 tholo Exp $ extern int __setregid __P((gid_t, gid_t)); +#ifndef NO_WARN_REFERENCES __warn_references(setregid, "warning: this program uses setregid(), which is deprecated."); +#endif int setregid(rgid, egid) |