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/vsprintf.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/vsprintf.c')
-rw-r--r-- | lib/vsprintf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index bed7229378f2..44f0e339a947 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c | |||
@@ -247,12 +247,12 @@ static char * number(char * buf, char * end, unsigned long long num, int base, i | |||
247 | * be generated for the given input, excluding the trailing | 247 | * be generated for the given input, excluding the trailing |
248 | * '\0', as per ISO C99. If you want to have the exact | 248 | * '\0', as per ISO C99. If you want to have the exact |
249 | * number of characters written into @buf as return value | 249 | * number of characters written into @buf as return value |
250 | * (not including the trailing '\0'), use vscnprintf. If the | 250 | * (not including the trailing '\0'), use vscnprintf(). If the |
251 | * return is greater than or equal to @size, the resulting | 251 | * return is greater than or equal to @size, the resulting |
252 | * string is truncated. | 252 | * string is truncated. |
253 | * | 253 | * |
254 | * Call this function if you are already dealing with a va_list. | 254 | * Call this function if you are already dealing with a va_list. |
255 | * You probably want snprintf instead. | 255 | * You probably want snprintf() instead. |
256 | */ | 256 | */ |
257 | int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) | 257 | int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) |
258 | { | 258 | { |
@@ -509,7 +509,7 @@ EXPORT_SYMBOL(vsnprintf); | |||
509 | * returns 0. | 509 | * returns 0. |
510 | * | 510 | * |
511 | * Call this function if you are already dealing with a va_list. | 511 | * Call this function if you are already dealing with a va_list. |
512 | * You probably want scnprintf instead. | 512 | * You probably want scnprintf() instead. |
513 | */ | 513 | */ |
514 | int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) | 514 | int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) |
515 | { | 515 | { |
@@ -577,11 +577,11 @@ EXPORT_SYMBOL(scnprintf); | |||
577 | * @args: Arguments for the format string | 577 | * @args: Arguments for the format string |
578 | * | 578 | * |
579 | * The function returns the number of characters written | 579 | * The function returns the number of characters written |
580 | * into @buf. Use vsnprintf or vscnprintf in order to avoid | 580 | * into @buf. Use vsnprintf() or vscnprintf() in order to avoid |
581 | * buffer overflows. | 581 | * buffer overflows. |
582 | * | 582 | * |
583 | * Call this function if you are already dealing with a va_list. | 583 | * Call this function if you are already dealing with a va_list. |
584 | * You probably want sprintf instead. | 584 | * You probably want sprintf() instead. |
585 | */ | 585 | */ |
586 | int vsprintf(char *buf, const char *fmt, va_list args) | 586 | int vsprintf(char *buf, const char *fmt, va_list args) |
587 | { | 587 | { |
@@ -597,7 +597,7 @@ EXPORT_SYMBOL(vsprintf); | |||
597 | * @...: Arguments for the format string | 597 | * @...: Arguments for the format string |
598 | * | 598 | * |
599 | * The function returns the number of characters written | 599 | * The function returns the number of characters written |
600 | * into @buf. Use snprintf or scnprintf in order to avoid | 600 | * into @buf. Use snprintf() or scnprintf() in order to avoid |
601 | * buffer overflows. | 601 | * buffer overflows. |
602 | */ | 602 | */ |
603 | int sprintf(char * buf, const char *fmt, ...) | 603 | int sprintf(char * buf, const char *fmt, ...) |