summaryrefslogtreecommitdiff
path: root/lib/libc/sys/Lint_syscall.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_syscall.c
parent30bff7e6175caea2b7ec7f5d43283b9c30df57ea (diff)
Better lint(1) framework. Mostly from cgd@NetBSD
Diffstat (limited to 'lib/libc/sys/Lint_syscall.c')
-rw-r--r--lib/libc/sys/Lint_syscall.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libc/sys/Lint_syscall.c b/lib/libc/sys/Lint_syscall.c
new file mode 100644
index 00000000000..d1afedad86c
--- /dev/null
+++ b/lib/libc/sys/Lint_syscall.c
@@ -0,0 +1,27 @@
+/* $OpenBSD: Lint_syscall.c,v 1.1 1998/02/08 22:45:14 tholo Exp $ */
+/* $NetBSD: Lint_syscall.c,v 1.1 1997/11/06 00:53:22 cgd Exp $ */
+
+/*
+ * This file placed in the public domain.
+ * Chris Demetriou, November 5, 1997.
+ */
+
+#include <unistd.h>
+#ifdef __STDC__
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+
+/*ARGSUSED*/
+int
+#ifdef __STDC__
+syscall(int arg1, ...)
+#else
+syscall(arg1, va_alist)
+ int arg1;
+ va_dcl
+#endif
+{
+ return (0);
+}