diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-09-25 13:39:41 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-09-25 13:39:41 -0400 |
| commit | 097e3e2dc18091096fc846fcc15402accf906448 (patch) | |
| tree | 76a9e6dcffc7130b753baf07e0fd75f6b903e9c1 /src/stdio/sprintf_s.c | |
| parent | d6f9cfcf2d3e39894f458b8b96e3fb593b523842 (diff) | |
spaces to tabs
Diffstat (limited to 'src/stdio/sprintf_s.c')
| -rw-r--r-- | src/stdio/sprintf_s.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/stdio/sprintf_s.c b/src/stdio/sprintf_s.c index c103e179..06e64b1f 100644 --- a/src/stdio/sprintf_s.c +++ b/src/stdio/sprintf_s.c @@ -4,13 +4,11 @@ /** write formatted output to a string **/ int sprintf_s(char * restrict s, rsize_t n, const char * restrict format, ...) { - __C_EXT(1, 201112L); - int retval; - va_list ap; - va_start(ap, format); - retval = vsprintf(s, format, ap); - va_end(ap); - return retval; + va_list ap; + va_start(ap, format); + int ret = vsprintf(s, format, ap); + va_end(ap); + return ret; } /*** |
