summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/emspecial.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/emspecial.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/emspecial.c')
-rw-r--r--Build/source/texk/dvipsk/emspecial.c24
1 files changed, 3 insertions, 21 deletions
diff --git a/Build/source/texk/dvipsk/emspecial.c b/Build/source/texk/dvipsk/emspecial.c
index c9a826db0dc..6edfcbf0ed4 100644
--- a/Build/source/texk/dvipsk/emspecial.c
+++ b/Build/source/texk/dvipsk/emspecial.c
@@ -7,28 +7,10 @@
#include <ctype.h>
#include <stdlib.h>
/*
- * These are the external routines called:
+ * The external declarations:
*/
#include "protos.h"
-extern char errbuf[] ;
-extern shalfword linepos;
-extern FILE *bitfile;
-extern int actualdpi ;
-extern int vactualdpi ;
-extern integer hh, vv;
-#ifndef KPATHSEA
-extern char *figpath ;
-#endif
-extern int prettycolumn ;
-extern int quiet;
-extern Boolean disablecomments ;
-
-#ifdef DEBUG
-extern integer debug_flag;
-#endif
-
-
#ifdef EMTEX
/* emtex specials, added by rjl */
@@ -61,7 +43,7 @@ boolean emused = FALSE; /* true if em points used on this page */
integer emx, emy;
struct emunit {
- char *unit;
+ const char *unit;
float factor;
};
struct emunit emtable[] = {
@@ -1381,7 +1363,7 @@ bmpgraph(FILE *f, char *filename, float emwidth, float emheight)
#define PCX 0
#define MSP 1
#define BMP 2
-char *extarr[]=
+const char *extarr[]=
{ ".pcx", ".msp", ".bmp", NULL };
void