diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/od.c | 2 | ||||
-rw-r--r-- | src/system.h | 8 | ||||
-rw-r--r-- | src/tee.c | 4 |
3 files changed, 3 insertions, 11 deletions
@@ -928,7 +928,7 @@ open_next_file (void) while (in_stream == NULL); if (limit_bytes_to_format & !flag_dump_strings) - SETVBUF (in_stream, NULL, _IONBF, 0); + setvbuf (in_stream, NULL, _IONBF, 0); return ok; } diff --git a/src/system.h b/src/system.h index 9cc144c76..2a9091390 100644 --- a/src/system.h +++ b/src/system.h @@ -389,14 +389,6 @@ readdir_ignoring_dot_and_dotdot (DIR *dirp) } } -#if SETVBUF_REVERSED -# define SETVBUF(Stream, Buffer, Type, Size) \ - setvbuf (Stream, Type, Buffer, Size) -#else -# define SETVBUF(Stream, Buffer, Type, Size) \ - setvbuf (Stream, Buffer, Type, Size) -#endif - /* Factor out some of the common --help and --version processing code. */ /* These enum values cannot possibly conflict with the option values @@ -161,7 +161,7 @@ tee_files (int nfiles, const char **files) the first one correspond to standard output. */ descriptors[0] = stdout; files[0] = _("standard output"); - SETVBUF (stdout, NULL, _IONBF, 0); + setvbuf (stdout, NULL, _IONBF, 0); for (i = 1; i <= nfiles; i++) { @@ -174,7 +174,7 @@ tee_files (int nfiles, const char **files) ok = false; } else - SETVBUF (descriptors[i], NULL, _IONBF, 0); + setvbuf (descriptors[i], NULL, _IONBF, 0); } while (1) |