summaryrefslogtreecommitdiff
path: root/src/stdio/vprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/vprintf.c')
-rw-r--r--src/stdio/vprintf.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/stdio/vprintf.c b/src/stdio/vprintf.c
index 9c8bea83..00c21419 100644
--- a/src/stdio/vprintf.c
+++ b/src/stdio/vprintf.c
@@ -1,5 +1,3 @@
-#if 0
-
#include <stdio.h>
#include <stdarg.h>
#include "_stdio.h"
@@ -9,6 +7,9 @@ int vprintf(const char * restrict format, va_list arg)
{
int ret = 0;
struct io_options opt = {0};
+
+ SIGNAL_SAFE(0);
+
opt.fnname = "vfprintf";
opt.stream = stdout;
ret = __printf(&opt, format, arg);
@@ -29,6 +30,3 @@ responsible for this.
/*
STDC(1)
*/
-
-
-#endif