summaryrefslogtreecommitdiff
path: root/Build/source/texk/dviljk/dvi2xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dviljk/dvi2xx.c')
-rw-r--r--Build/source/texk/dviljk/dvi2xx.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/Build/source/texk/dviljk/dvi2xx.c b/Build/source/texk/dviljk/dvi2xx.c
index 5ef945d8342..e986b5de2b3 100644
--- a/Build/source/texk/dviljk/dvi2xx.c
+++ b/Build/source/texk/dviljk/dvi2xx.c
@@ -102,6 +102,7 @@
*/
#include "dvi2xx.h"
+#include "tfm.h"
#ifdef SEVENBIT
#define VIS 33
@@ -776,10 +777,11 @@ char *str;
/*********************************************************************/
/***************************** CopyHPFile ******************************/
/*********************************************************************/
+static int
#if NeedFunctionPrototypes
-int getnum(FILEPTR spfp, char *t, char *numstr)
+getnum(FILEPTR spfp, char *t, char *numstr)
#else
-int getnum(spfp, t, numstr)
+getnum(spfp, t, numstr)
FILEPTR spfp;
char *t, *numstr;
#endif
@@ -791,10 +793,11 @@ char *t, *numstr;
return atoi(numstr);
}
+static void
#if NeedFunctionPrototypes
-void setOffset(char dir, char sign, int pos)
+setOffset(char dir, char sign, int pos)
#else
-void setOffset(dir, sign, pos, first)
+setOffset(dir, sign, pos)
char dir, sign;
int pos;
#endif
@@ -4980,14 +4983,14 @@ long4 conv; /* conversion factor */
/**********************************************************************/
/**************************** TryResident ***************************/
/**********************************************************************/
+static bool
#if NeedFunctionPrototypes
-bool TryResident(struct font_entry *fontptr)
+TryResident(struct font_entry *fontptr)
#else
-bool TryResident(fontptr)
+TryResident(fontptr)
struct font_entry *fontptr;
#endif
{
- extern bool tfm_read_info();
tfm_info_type tfm_info;
/* To determine if a font is resident, check for a special family