public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
589f3a3
)
clearerr is now also a macro
author
ceriel
<none@none>
Thu, 3 Jan 1991 14:23:54 +0000
(14:23 +0000)
committer
ceriel
<none@none>
Thu, 3 Jan 1991 14:23:54 +0000
(14:23 +0000)
lang/cem/libcc.ansi/stdio/clearerr.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc.ansi/stdio/clearerr.c
b/lang/cem/libcc.ansi/stdio/clearerr.c
index
1d639db
..
6379aae
100644
(file)
--- a/
lang/cem/libcc.ansi/stdio/clearerr.c
+++ b/
lang/cem/libcc.ansi/stdio/clearerr.c
@@
-6,7
+6,7
@@
#include <stdio.h>
void
-
clearerr
(FILE *stream)
+
(clearerr)
(FILE *stream)
{
-
stream->_flags &= ~(_IOERR|_IOEOF
);
+
clearerr(stream
);
}