summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/dopage.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:29:32 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:29:32 +0000
commitf61bbe1e960052731889ff87ac1885f85b786f51 (patch)
tree231297089d4ab3b7012ea6f0be2647aa1a4720fb /Build/source/texk/dvipsk/dopage.c
parent2febf30b2c406dc2962ab8e37812637b1a7ab7f3 (diff)
towards TL2010: texk/dvipsk
git-svn-id: svn://tug.org/texlive/trunk@15969 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/dopage.c')
-rw-r--r--Build/source/texk/dvipsk/dopage.c38
1 files changed, 4 insertions, 34 deletions
diff --git a/Build/source/texk/dvipsk/dopage.c b/Build/source/texk/dvipsk/dopage.c
index e910c564b94..d2ca326ac9c 100644
--- a/Build/source/texk/dvipsk/dopage.c
+++ b/Build/source/texk/dvipsk/dopage.c
@@ -5,31 +5,9 @@
#include "dvips.h" /* The copyright notice in that file is included too! */
#include <math.h>
/*
- * The external routines we use:
+ * The external declarations:
*/
-#include "protos.h"
-/*
- * Now the external variables.
- */
-extern fontdesctype *curfnt ;
-extern fontmaptype *ffont ;
-extern quarterword *curpos, *curlim ;
-extern integer hh, vv ;
-extern integer hoff, voff ;
-extern Boolean noomega ;
-/*
- * CONVENTION: conv -> horizontial converter
- * vconv -> vertical converter
- */
-extern real conv ;
-extern real vconv ;
-
-extern FILE *bitfile ;
-extern int actualdpi ;
-extern int vactualdpi ;
-extern frametype frames[] ;
-extern int maxdrift ;
-extern int vmaxdrift ;
+#include "protos_add.h"
#ifdef XENIX
#define PixRound(x) ((integer)(x + (iconv >> 1)) / iconv)
@@ -48,20 +26,12 @@ extern int vmaxdrift ;
* Most error checking is suppressed because the prescan has already
* verified that the DVI data is OK....except for stack over/underflow.
*/
-struct dvistack {
- integer hh, vv ;
- integer h, v, w, x, y, z ;
-} stack[STACKSIZE] ;
+struct dvistack stack[STACKSIZE] ;
#ifdef HPS
-extern int pagecounter ;
-extern Boolean HPS_FLAG ;
-extern Boolean inHTMLregion ;
-integer vvmem, hhmem ;
+integer hhmem, vvmem ;
integer pushcount = 0 ;
Boolean PAGEUS_INTERUPPTUS = 0 ;
Boolean NEED_NEW_BOX = 0 ;
-extern integer HREF_COUNT ;
-extern int current_pushcount ;
integer H_BREAK ; /* An empirical parameter for guessing line breaks; needs
dpi dependence */
#endif