summaryrefslogtreecommitdiff
path: root/lib/libc/sys/Lint_setlogin.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1998-02-08 22:45:16 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1998-02-08 22:45:16 +0000
commitf9d3835e37ef52edc81ab34243babdcdc2369783 (patch)
treeb623759dce13c9f84a8afe3391c0d34b0efc19a2 /lib/libc/sys/Lint_setlogin.c
parent30bff7e6175caea2b7ec7f5d43283b9c30df57ea (diff)
Better lint(1) framework. Mostly from cgd@NetBSD
Diffstat (limited to 'lib/libc/sys/Lint_setlogin.c')
-rw-r--r--lib/libc/sys/Lint_setlogin.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libc/sys/Lint_setlogin.c b/lib/libc/sys/Lint_setlogin.c
new file mode 100644
index 00000000000..8c0e114432b
--- /dev/null
+++ b/lib/libc/sys/Lint_setlogin.c
@@ -0,0 +1,17 @@
+/* $OpenBSD: Lint_setlogin.c,v 1.1 1998/02/08 22:45:12 tholo Exp $ */
+/* $NetBSD: Lint_setlogin.c,v 1.1 1997/11/06 00:53:08 cgd Exp $ */
+
+/*
+ * This file placed in the public domain.
+ * Chris Demetriou, November 5, 1997.
+ */
+
+#include <unistd.h>
+
+/*ARGSUSED*/
+int
+setlogin(name)
+ const char *name;
+{
+ return (0);
+}