diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2004-03-17 01:43:08 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2004-03-17 01:43:08 +0000 |
| commit | 567d74a5eced82896bce42c1181f3335f45cbcac (patch) | |
| tree | a146c0d7f2efde65782926d4c69016d3b4715398 /lib/libc/stdio/ferror.c | |
| parent | 25f740b790ffe968dd8eb2c8169035bcad5fa85e (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/ferror.c')
| -rw-r--r-- | lib/libc/stdio/ferror.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/stdio/ferror.c b/lib/libc/stdio/ferror.c index c0fdecd03e7a..5d4c187dd1df 100644 --- a/lib/libc/stdio/ferror.c +++ b/lib/libc/stdio/ferror.c @@ -45,12 +45,8 @@ __FBSDID("$FreeBSD$"); #include "un-namespace.h" #include "libc_private.h" -/* - * ferror has traditionally been a macro in <stdio.h>. That is no - * longer true because it needs to be thread-safe. - * - * #undef ferror - */ +#undef ferror + int ferror(FILE *fp) { |
