diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-12-31 17:20:12 -0600 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-12-31 17:20:12 -0600 |
commit | a0638ff0c7445925e873b39dbe584fbaf3cc87e5 (patch) | |
tree | 30ae4bbb88d4441b4d55ce83e2313ba06f7d7395 /fc-cat | |
parent | a603be89cd13555d5992836531c5ef2ba88b8473 (diff) |
Remove unneeded stuff
Diffstat (limited to 'fc-cat')
-rw-r--r-- | fc-cat/fc-cat.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c index 72912b79..9a2abb3f 100644 --- a/fc-cat/fc-cat.c +++ b/fc-cat/fc-cat.c @@ -67,17 +67,15 @@ extern int optind, opterr, optopt; #endif /* - * POSIX has broken stdio so that getc must do thread-safe locking, + * POSIX has broken stdio so that putc must do thread-safe locking, * this is a serious performance problem for applications doing large - * amounts of IO with getc (as is done here). If available, use - * the getc_unlocked varient instead. + * amounts of IO with putc (as is done here). If available, use + * the putc_unlocked varient instead. */ -#if defined(getc_unlocked) || defined(_IO_getc_unlocked) -#define GETC(f) getc_unlocked(f) +#if defined(putc_unlocked) || defined(_IO_putc_unlocked) #define PUTC(c,f) putc_unlocked(c,f) #else -#define GETC(f) getc(f) #define PUTC(c,f) putc(c,f) #endif |