git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
include
/
asm-m68k
/
string.h
diff --git
a/include/asm-m68k/string.h
b/include/asm-m68k/string.h
index
0f2d0b5
..
7ea5dc8
100644
(file)
--- a/
include/asm-m68k/string.h
+++ b/
include/asm-m68k/string.h
@@
-73,7
+73,7
@@
static inline char * strncat(char *dest, const char *src, size_t count)
static inline char * strchr(const char * s, int c)
{
const char ch = c;
static inline char * strchr(const char * s, int c)
{
const char ch = c;
-
+
for(; *s != ch; ++s)
if (*s == '\0')
return( NULL );
for(; *s != ch; ++s)
if (*s == '\0')
return( NULL );
@@
-85,7
+85,7
@@
static inline char * strchr(const char * s, int c)
static inline char *strpbrk(const char *cs,const char *ct)
{
const char *sc1,*sc2;
static inline char *strpbrk(const char *cs,const char *ct)
{
const char *sc1,*sc2;
-
+
for( sc1 = cs; *sc1 != '\0'; ++sc1)
for( sc2 = ct; *sc2 != '\0'; ++sc2)
if (*sc1 == *sc2)
for( sc1 = cs; *sc1 != '\0'; ++sc1)
for( sc2 = ct; *sc2 != '\0'; ++sc2)
if (*sc1 == *sc2)