Date: Sat, 20 Nov 1999 20:26:48 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_linker.c src/sys/sys libkern.h src/sys/libkern index.c rindex.c Message-ID: <199911210426.UAA60432@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1999/11/20 20:26:48 PST
Modified files:
sys/kern kern_linker.c
sys/sys libkern.h
sys/libkern index.c rindex.c
Log:
Tempt fate and stop index from converting a const char * into a char *.
I've made a seperate version (c_index() etc) that use const/const, but
I'm not sure it's worth it considering there is one file in the tree
that uses index on const strings (kern_linker.c) and it's easily adjusted
to scan the strings directly (and is perhaps more efficient that way).
Revision Changes Path
1.39 +3 -3 src/sys/kern/kern_linker.c
1.18 +5 -3 src/sys/sys/libkern.h
1.5 +21 -9 src/sys/libkern/index.c
1.6 +23 -11 src/sys/libkern/rindex.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911210426.UAA60432>
