summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-03-12 22:59:30 +0000
committerwlemb <wlemb>2003-03-12 22:59:30 +0000
commit3aa5f041823825d124ba3dfa4965acee713bc45c (patch)
treedea10cc8cc2e8c6fe80a21ad7586c94b167dd28e /src/include
parenta0d84a8c7ac9d3c7aea01fbb9e96c688bfa4093a (diff)
downloadgroff-3aa5f041823825d124ba3dfa4965acee713bc45c.tar.gz
Make variable `pr' local to libdriver/input.cc. Based on a patch
by Bernd Warken <bwarken@mayn.de>. * src/include/driver.h (pr): Removed. * src/libs/libdriver/input.cc (pr): New global variable. (do_file): Deallocate `pr'. * src/libs/libdriver/printer.cc (pr): Removed. * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc (main): Don't delete `pr'. * tmac/a4.tmac, tmac/composite.tmac: Use `.do'. * tmac/papersize.tmac: New file. * tmac/troffrc: Include `papersize.tmac'. * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'. * tmac/an-old.tmac: Set LT to LL by default. * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man, doc/groff.texinfo: Updated. * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing bug which caused all odd iso papers to have wrong dimensions. * src/devices/grops/ps.cc (user_paper_width): New global variable. (main) <'p'>: Set `user_paper_width' also. (ps_printer::media_width, ps_printer::media_height): Use values given with option `-p'.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/driver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/driver.h b/src/include/driver.h
index d9579289..b15d6c99 100644
--- a/src/include/driver.h
+++ b/src/include/driver.h
@@ -34,4 +34,3 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "geometry.h"
void do_file(const char *);
-extern printer *pr;