summaryrefslogtreecommitdiff
path: root/lib/libc/strchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/strchr.c')
-rw-r--r--lib/libc/strchr.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libc/strchr.c b/lib/libc/strchr.c
index 61244da4..d94bb9e0 100644
--- a/lib/libc/strchr.c
+++ b/lib/libc/strchr.c
@@ -29,11 +29,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)index.c 8.1 (Berkeley) 6/4/93";
-#endif /* LIBC_SCCS and not lint */
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
+/*
+ * Portions copyright (c) 2018, ARM Limited and Contributors.
+ * All rights reserved.
+ */
#include <stddef.h>
#include <string.h>
@@ -52,5 +51,3 @@ strchr(const char *p, int ch)
}
/* NOTREACHED */
}
-
-__weak_reference(strchr, index);