projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NFS: Fix the 'desynchronized value of nfs_i.ncommit' error
[powerpc.git]
/
lib
/
string.c
diff --git
a/lib/string.c
b/lib/string.c
index
a485d75
..
bab440f
100644
(file)
--- a/
lib/string.c
+++ b/
lib/string.c
@@
-160,7
+160,7
@@
EXPORT_SYMBOL(strcat);
* @src: The string to append to it
* @count: The maximum numbers of bytes to copy
*
* @src: The string to append to it
* @count: The maximum numbers of bytes to copy
*
- * Note that in contrast to strncpy
, strncat
ensures the result is
+ * Note that in contrast to strncpy
(), strncat()
ensures the result is
* terminated.
*/
char *strncat(char *dest, const char *src, size_t count)
* terminated.
*/
char *strncat(char *dest, const char *src, size_t count)
@@
-366,8
+366,7
@@
EXPORT_SYMBOL(strnlen);
#ifndef __HAVE_ARCH_STRSPN
/**
#ifndef __HAVE_ARCH_STRSPN
/**
- * strspn - Calculate the length of the initial substring of @s which only
- * contain letters in @accept
+ * strspn - Calculate the length of the initial substring of @s which only contain letters in @accept
* @s: The string to be searched
* @accept: The string to search for
*/
* @s: The string to be searched
* @accept: The string to search for
*/
@@
-394,8
+393,7
@@
EXPORT_SYMBOL(strspn);
#ifndef __HAVE_ARCH_STRCSPN
/**
#ifndef __HAVE_ARCH_STRCSPN
/**
- * strcspn - Calculate the length of the initial substring of @s which does
- * not contain letters in @reject
+ * strcspn - Calculate the length of the initial substring of @s which does not contain letters in @reject
* @s: The string to be searched
* @reject: The string to avoid
*/
* @s: The string to be searched
* @reject: The string to avoid
*/