summaryrefslogtreecommitdiff
path: root/src/stdio/putc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/putc.c')
-rw-r--r--src/stdio/putc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/stdio/putc.c b/src/stdio/putc.c
index 5a0836dd..8dc2024f 100644
--- a/src/stdio/putc.c
+++ b/src/stdio/putc.c
@@ -1,11 +1,11 @@
-#if 0
-
#include <stdio.h>
+#include "_stdio.h"
/** write a character to a file stream **/
int putc(int c, FILE *stream)
{
+ SIGNAL_SAFE(0);
/*
RETURN_SUCCESS(ARGUMENT(c));
RETURN_FAILURE(CONSTANT(EOF));
@@ -21,6 +21,3 @@ as a macro, it may evaluate ARGUMENT(stream) more than once.
/*
STDC(1)
*/
-
-
-#endif