summaryrefslogtreecommitdiff
path: root/lib/libc/compat-43/setruid.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/compat-43/setruid.c')
-rw-r--r--lib/libc/compat-43/setruid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/compat-43/setruid.c b/lib/libc/compat-43/setruid.c
index 6b35ad42931..6294e7ccc90 100644
--- a/lib/libc/compat-43/setruid.c
+++ b/lib/libc/compat-43/setruid.c
@@ -32,13 +32,15 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: setruid.c,v 1.4 1996/08/19 08:19:36 tholo Exp $";
+static char *rcsid = "$OpenBSD: setruid.c,v 1.5 1997/01/19 22:32:15 graichen Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <unistd.h>
+#ifndef NO_WARN_REFERENCES
__warn_references(setruid, "warning: this program uses setruid(), which is deprecated.");
+#endif
extern int __setreuid __P((uid_t, uid_t));