diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:24 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:24 -0700 |
commit | 07e54d090f1e18a774b2bdf1bcd1a17fb228dbda (patch) | |
tree | d3281e59ec61ebebb4215783d3f2ffd624d3a971 /com32 | |
parent | d4e98aece52068944cd935571aafe69f3ecbf3fa (diff) | |
download | syslinux-07e54d090f1e18a774b2bdf1bcd1a17fb228dbda.tar.gz |
Run Nindent on com32/lib/sprintf.c
Automatically reformat com32/lib/sprintf.c using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32')
-rw-r--r-- | com32/lib/sprintf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/com32/lib/sprintf.c b/com32/lib/sprintf.c index 31f28af0..3c328410 100644 --- a/com32/lib/sprintf.c +++ b/com32/lib/sprintf.c @@ -7,12 +7,12 @@ int sprintf(char *buffer, const char *format, ...) { - va_list ap; - int rv; + va_list ap; + int rv; - va_start(ap, format); - rv = vsnprintf(buffer, ~(size_t)0, format, ap); - va_end(ap); + va_start(ap, format); + rv = vsnprintf(buffer, ~(size_t) 0, format, ap); + va_end(ap); - return rv; + return rv; } |