diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-02-10 04:45:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:32 -0500 |
commit | 72fd4a35a824331d7a0f4168d7576502d95d34b3 (patch) | |
tree | be27880bc36b7f62e8044a88b8744a35c5317714 /lib/string.c | |
parent | 262086cf5b5343c2b81c97b1c606058e921859df (diff) |
[PATCH] Numerous fixes to kernel-doc info in source files.
A variety of (mostly) innocuous fixes to the embedded kernel-doc content in
source files, including:
* make multi-line initial descriptions single line
* denote some function names, constants and structs as such
* change erroneous opening '/*' to '/**' in a few places
* reword some text for clarity
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/string.c')
-rw-r--r-- | lib/string.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/string.c b/lib/string.c index a485d75962af..bab440fb0dfc 100644 --- a/lib/string.c +++ b/lib/string.c | |||
@@ -160,7 +160,7 @@ EXPORT_SYMBOL(strcat); | |||
160 | * @src: The string to append to it | 160 | * @src: The string to append to it |
161 | * @count: The maximum numbers of bytes to copy | 161 | * @count: The maximum numbers of bytes to copy |
162 | * | 162 | * |
163 | * Note that in contrast to strncpy, strncat ensures the result is | 163 | * Note that in contrast to strncpy(), strncat() ensures the result is |
164 | * terminated. | 164 | * terminated. |
165 | */ | 165 | */ |
166 | char *strncat(char *dest, const char *src, size_t count) | 166 | char *strncat(char *dest, const char *src, size_t count) |
@@ -366,8 +366,7 @@ EXPORT_SYMBOL(strnlen); | |||
366 | 366 | ||
367 | #ifndef __HAVE_ARCH_STRSPN | 367 | #ifndef __HAVE_ARCH_STRSPN |
368 | /** | 368 | /** |
369 | * strspn - Calculate the length of the initial substring of @s which only | 369 | * strspn - Calculate the length of the initial substring of @s which only contain letters in @accept |
370 | * contain letters in @accept | ||
371 | * @s: The string to be searched | 370 | * @s: The string to be searched |
372 | * @accept: The string to search for | 371 | * @accept: The string to search for |
373 | */ | 372 | */ |
@@ -394,8 +393,7 @@ EXPORT_SYMBOL(strspn); | |||
394 | 393 | ||
395 | #ifndef __HAVE_ARCH_STRCSPN | 394 | #ifndef __HAVE_ARCH_STRCSPN |
396 | /** | 395 | /** |
397 | * strcspn - Calculate the length of the initial substring of @s which does | 396 | * strcspn - Calculate the length of the initial substring of @s which does not contain letters in @reject |
398 | * not contain letters in @reject | ||
399 | * @s: The string to be searched | 397 | * @s: The string to be searched |
400 | * @reject: The string to avoid | 398 | * @reject: The string to avoid |
401 | */ | 399 | */ |