summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-09-14 22:18:35 +0000
committerderaadt <deraadt@openbsd.org>2004-09-14 22:18:35 +0000
commit26fa059e661ca23a9e0d62872cc8baf38d425132 (patch)
treed6ef02796b15a441f6d392a0145f3c41c8f48386
parenthigher max kmem default and mark swap broken (diff)
downloadwireguard-openbsd-26fa059e661ca23a9e0d62872cc8baf38d425132.tar.xz
wireguard-openbsd-26fa059e661ca23a9e0d62872cc8baf38d425132.zip
need rfork() stub for lint
-rw-r--r--lib/libc/sys/Lint_rfork.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/libc/sys/Lint_rfork.c b/lib/libc/sys/Lint_rfork.c
new file mode 100644
index 00000000000..0a7be328a5f
--- /dev/null
+++ b/lib/libc/sys/Lint_rfork.c
@@ -0,0 +1,15 @@
+/* $OpenBSD: Lint_rfork.c,v 1.1 2004/09/14 22:18:35 deraadt Exp $ */
+
+/*
+ * This file placed in the public domain.
+ * Chris Demetriou, November 5, 1997.
+ */
+
+#include <unistd.h>
+
+/*ARGSUSED*/
+int
+rfork(int flags)
+{
+ return (0);
+}