From 2c5aca6eaab998271ab17792486cf67dd2e67711 Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Mon, 13 Aug 2018 19:41:17 +0100 Subject: libc: Cleanup FreeBSD files Remove code specific to FreeBSD so that they can be used in this repository. Change-Id: I5c11eb5b3c05a7fb91aed08371a1f7a0e6122a94 Signed-off-by: Antonio Nino Diaz --- lib/libc/strchr.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'lib/libc/strchr.c') 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 -__FBSDID("$FreeBSD$"); +/* + * Portions copyright (c) 2018, ARM Limited and Contributors. + * All rights reserved. + */ #include #include @@ -52,5 +51,3 @@ strchr(const char *p, int ch) } /* NOTREACHED */ } - -__weak_reference(strchr, index); -- cgit v1.2.3