summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:18:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:18:36 +0000
commitc2451b45b162c71d304824e86d2d2def1168b06a (patch)
tree8dbc00dd3cb1f801875bacc499511a49614fa54b /lib
parentdb39404b1c0ae3bf5a76a87871dcc35b1dd0b411 (diff)
need rfork() stub for lint
Diffstat (limited to 'lib')
-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);
+}