scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit c8f6661a9dab4730d2b921e7edd0b283b9ff209e
parent eb84713444cd3dafa53eaa764fb49462531f511e
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 23 Feb 2017 17:05:43 +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.

Diffstat:
Mlibc/src/Makefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 \