summaryrefslogtreecommitdiff
path: root/src/stdio/sscanf_s.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-09-25 13:39:41 -0400
committerJakob Kaivo <jkk@ung.org>2020-09-25 13:39:41 -0400
commit097e3e2dc18091096fc846fcc15402accf906448 (patch)
tree76a9e6dcffc7130b753baf07e0fd75f6b903e9c1 /src/stdio/sscanf_s.c
parentd6f9cfcf2d3e39894f458b8b96e3fb593b523842 (diff)
spaces to tabs
Diffstat (limited to 'src/stdio/sscanf_s.c')
-rw-r--r--src/stdio/sscanf_s.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/stdio/sscanf_s.c b/src/stdio/sscanf_s.c
index b3824825..5c782458 100644
--- a/src/stdio/sscanf_s.c
+++ b/src/stdio/sscanf_s.c
@@ -4,13 +4,11 @@
/** read formatted input from a string **/
int sscanf_s(const char * restrict s, const char * restrict format, ...)
{
- __C_EXT(1, 201112L);
- int retval;
- va_list ap;
- va_start(ap, format);
- retval = vsscanf(s, format, ap);
- va_end(ap);
- return retval;
+ va_list ap;
+ va_start(ap, format);
+ int ret = vsscanf(s, format, ap);
+ va_end(ap);
+ return ret;
}
/***