clearerr is now also a macro
authorceriel <none@none>
Thu, 3 Jan 1991 14:23:54 +0000 (14:23 +0000)
committerceriel <none@none>
Thu, 3 Jan 1991 14:23:54 +0000 (14:23 +0000)
lang/cem/libcc.ansi/stdio/clearerr.c

index 1d639db..6379aae 100644 (file)
@@ -6,7 +6,7 @@
 #include       <stdio.h>
 
 void
-clearerr(FILE *stream)
+(clearerr)(FILE *stream)
 {
-       stream->_flags &= ~(_IOERR|_IOEOF);
+       clearerr(stream);
 }