summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/strchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libkern/strchr.c')
-rw-r--r--sys/lib/libkern/strchr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/lib/libkern/strchr.c b/sys/lib/libkern/strchr.c
index 9af2ea0ac5c..4916a437398 100644
--- a/sys/lib/libkern/strchr.c
+++ b/sys/lib/libkern/strchr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strchr.c,v 1.4 2007/11/25 18:25:34 deraadt Exp $ */
+/* $OpenBSD: strchr.c,v 1.5 2014/06/10 04:16:57 deraadt Exp $ */
/*
* Copyright (c) 2004 Daniel Hartmeier
@@ -31,12 +31,8 @@
*/
#include <sys/types.h>
-#if !defined(_KERNEL) && !defined(_STANDALONE)
-#include <string.h>
-#else
#include <lib/libkern/libkern.h>
#define NULL ((char *)0)
-#endif
char *
strchr(const char *s, int c)