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/putc.c | |
| parent | 25f740b790ffe968dd8eb2c8169035bcad5fa85e (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/putc.c')
| -rw-r--r-- | lib/libc/stdio/putc.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libc/stdio/putc.c b/lib/libc/stdio/putc.c index 95a9cac5b5d2..b42f878bbdea 100644 --- a/lib/libc/stdio/putc.c +++ b/lib/libc/stdio/putc.c @@ -46,14 +46,8 @@ __FBSDID("$FreeBSD$"); #include "local.h" #include "libc_private.h" -/* - * putc has traditionally been a macro in <stdio.h>. That is no - * longer true because POSIX requires it to be thread-safe. POSIX - * does define putc_unlocked() which is defined as a macro and is - * probably what you want to use instead. - * - * #undef putc - */ +#undef putc + int putc(c, fp) int c; |
