From 05045bd8a898da23ebdad07c4a34e21c433b1b88 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Tue, 16 Aug 2016 18:35:51 +0200 Subject: Replace libc string functions with internal implementations * Makefile.am (clib_routines): Remove memcmp, memcpy, memmove, strchr, strstr and strsep. * kern/strings.c (memset): Comment out. (strchr, strsep, strstr): New functions. --- Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index bbcfc111..50ff6b63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -161,9 +161,7 @@ noinst_PROGRAMS += \ gnumach.o # This is the list of routines we decide is OK to steal from the C library. -clib_routines := memcmp memcpy memmove \ - strchr strstr strsep strtok \ - htonl htons ntohl ntohs \ +clib_routines := htonl htons ntohl ntohs \ udivdi3 __udivdi3 __umoddi3 \ __rel_iplt_start __rel_iplt_end \ __ffsdi2 \ -- cgit v1.2.3