summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/strrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libkern/strrchr.c')
-rw-r--r--sys/lib/libkern/strrchr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/lib/libkern/strrchr.c b/sys/lib/libkern/strrchr.c
index 05ac5b7ff5f..abe10b1a0e4 100644
--- a/sys/lib/libkern/strrchr.c
+++ b/sys/lib/libkern/strrchr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strrchr.c,v 1.1 2007/11/25 18:25:34 deraadt Exp $ */
+/* $OpenBSD: strrchr.c,v 1.2 2014/06/10 04:16:57 deraadt Exp $ */
/*
* Copyright (c) 2004 Daniel Hartmeier
@@ -30,13 +30,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 *
strrchr(const char *s, int c)