]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Clean up arch-overrides in linux/string.h
authorKyle McMartin <kyle@parisc-linux.org>
Tue, 11 Apr 2006 05:53:57 +0000 (22:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:40 +0000 (06:18 -0700)
commit74fbe7a848904c18f0b9ec87c2e3ce0a36cc5961
treedc12f9c94f28ad0fb41ea6c4ebe6a0ae31c36ad1
parent891c1ccde611d4b0546b1d5f24d4f68285410a04
[PATCH] Clean up arch-overrides in linux/string.h

Some string functions were safely overrideable in lib/string.c, but their
corresponding declarations in linux/string.h were not.  Correct this, and
make strcspn overrideable.

Odds of someone wanting to do optimized assembly of these are small, but
for the sake of cleanliness, might as well bring them into line with the
rest of the file.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/string.h
lib/string.c