summaryrefslogtreecommitdiff
path: root/src/stdio/rewind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/rewind.c')
-rw-r--r--src/stdio/rewind.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/stdio/rewind.c b/src/stdio/rewind.c
index 200534fe..1cdeee44 100644
--- a/src/stdio/rewind.c
+++ b/src/stdio/rewind.c
@@ -1,11 +1,11 @@
-#if 0
-
#include <stdio.h>
+#include "_stdio.h"
/** reset file position indicator **/
void rewind(FILE *stream)
{
+ SIGNAL_SAFE(0);
fseek(stream, 0L, SEEK_SET);
clearerr(stream);
}
@@ -18,6 +18,3 @@ beginning of the file. The error indicator will be cleared.
/*
STDC(1)
*/
-
-
-#endif