diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-07 13:23:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-07 13:23:44 +0000 |
commit | fd5da15041e3a3c8437d56fb250f990ebbe8d4a0 (patch) | |
tree | 75c0eab6263b1fcc9b5df3717b40ae9768145f41 | |
parent | 0981ef97c0e84e507cf231ac5a486aec7d4544ae (diff) | |
download | coreutils-fd5da15041e3a3c8437d56fb250f990ebbe8d4a0.tar.xz |
(closeout_func): Remove variable.
(close_stdout_wrapper): Remove unused function.
(main): Remove assignment to closeout_func.
-rw-r--r-- | src/cat.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -462,17 +462,6 @@ cat ( } } -/* This is gross, but necessary, because of the way close_stdout - works and because this program closes STDOUT_FILENO directly. */ -static void (*closeout_func) (void) = close_stdout; - -static void -close_stdout_wrapper (void) -{ - if (closeout_func) - (*closeout_func) (); -} - int main (int argc, char **argv) { @@ -632,8 +621,6 @@ main (int argc, char **argv) } } - closeout_func = NULL; - /* Get device, i-node number, and optimal blocksize of output. */ if (fstat (STDOUT_FILENO, &stat_buf) < 0) |