summaryrefslogtreecommitdiff
path: root/lib/libc/compat-43/setreuid.c
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-01-20 07:47:03 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-01-20 07:47:03 +0000
commita712527340cfa65d54620eebac075dfc894a6b98 (patch)
tree1e30a350b4b7201366fc0ac51809bf08577bf8e8 /lib/libc/compat-43/setreuid.c
parent8ac1042d163fa341e5795d47c6f88d6ce21a2ccb (diff)
back out my last change to avoid the __warn_references on the mips - it's
now done for the pmax like for the arc in machine/cdefs.h
Diffstat (limited to 'lib/libc/compat-43/setreuid.c')
-rw-r--r--lib/libc/compat-43/setreuid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/compat-43/setreuid.c b/lib/libc/compat-43/setreuid.c
index 03785e9e927..5cd28bb6406 100644
--- a/lib/libc/compat-43/setreuid.c
+++ b/lib/libc/compat-43/setreuid.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: setreuid.c,v 1.3 1997/01/19 22:32:14 graichen Exp $";
+static char *rcsid = "$OpenBSD: setreuid.c,v 1.4 1997/01/20 07:46:51 graichen Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -40,9 +40,7 @@ static char *rcsid = "$OpenBSD: setreuid.c,v 1.3 1997/01/19 22:32:14 graichen Ex
extern int __setreuid __P((uid_t, uid_t));
-#ifndef NO_WARN_REFERENCES
__warn_references(setreuid, "warning: this program uses setreuid(), which is deprecated.");
-#endif
int
setreuid(ruid, euid)