ref: d94045063ac8a93222b4f08ac56c056a7a6a2415
parent: fb0ceb96ef0cc6fe99222641944d2c479034d2d2
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Feb 23 12:05:43 EST 2017
[libc] Move strtok at the end of string object list Strtok() uses several other functions of string.h, so it is better to put it after them. It will make the life of some linkers easier.
--- a/libc/src/Makefile
+++ b/libc/src/Makefile
@@ -3,7 +3,7 @@
LIBCOBJ = assert.o strcpy.o strcmp.o strlen.o strchr.o \
strrchr.o strcat.o strncmp.o strncpy.o strncat.o strcoll.o \
- strxfrm.o strtok.o strstr.o strspn.o strcspn.o strpbrk.o \
+ strxfrm.o strstr.o strspn.o strcspn.o strpbrk.o strtok.o \
memset.o memcpy.o memmove.o memcmp.o memchr.o \
isalnum.o isalpha.o isascii.o isblank.o iscntrl.o isdigit.o \
isgraph.o islower.o isprint.o ispunct.o isspace.o isupper.o \