summaryrefslogtreecommitdiff
path: root/src/macros.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-07-13 17:45:19 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-07-13 17:45:19 -0700
commita705278de7c661af9b78d956af25e13055cba864 (patch)
treea8033e995ce6bfa2cd9af4cbee0700e3803e5602 /src/macros.c
parent4939f58d2c45062d5eac3f4c845b4494cf113f1f (diff)
downloademacs-a705278de7c661af9b78d956af25e13055cba864.tar.gz
emacs-a705278de7c661af9b78d956af25e13055cba864.tar.bz2
emacs-a705278de7c661af9b78d956af25e13055cba864.zip
* make-docfile.c: Simplify a bit, to simplify further refactoring.
(outfile): Remove static var. All uses changed to use stdout, since it's always stdout anyway. While we're at it, prefer putchar/puts/fputs to printf when there are no format strings. (main): Use freopen rather than fopen, so that stdout is reused. Move O_BINARY stuff after the freopen, so it affects the reopened file. (write_c_args): Omit first arg, since it's always stdout now. All uses changed.
Diffstat (limited to 'src/macros.c')
0 files changed, 0 insertions, 0 deletions