commit c8f6661a9dab4730d2b921e7edd0b283b9ff209e
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu Feb 23 17:05:43 2017 +0100
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu Feb 23 17:07:35 2017 +0100
[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.
diff --git a/libc/src/Makefile b/libc/src/Makefile
index b9b1d4f..f83e4d2 100644
--- 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 \