summaryrefslogtreecommitdiff
path: root/Build/source/texk/makejvf
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2017-07-15 08:12:12 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2017-07-15 08:12:12 +0000
commit65154e1c6afa12523612808ee518b0a1621e4629 (patch)
tree705ff49bd50478791991377ffd7fdb68c57deb71 /Build/source/texk/makejvf
parent9e945e87e6b8e04f4319505f27c0c574876df7ae (diff)
makejvf: better declaration
git-svn-id: svn://tug.org/texlive/trunk@44805 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makejvf')
-rw-r--r--Build/source/texk/makejvf/main.c1
-rw-r--r--Build/source/texk/makejvf/makejvf.h2
-rw-r--r--Build/source/texk/makejvf/uniblock.c1
-rw-r--r--Build/source/texk/makejvf/uniblock.h2
-rw-r--r--Build/source/texk/makejvf/write.c2
5 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/makejvf/main.c b/Build/source/texk/makejvf/main.c
index 87b7b56edc7..8b733a33ff4 100644
--- a/Build/source/texk/makejvf/main.c
+++ b/Build/source/texk/makejvf/main.c
@@ -10,6 +10,7 @@
FILE *vfp,*afp=NULL;
char *atfmname,*vtfmname,*afmname,*vfname,*kanatfm,*jistfm,*ucsqtfm;
int kanatume=-1,chotai=0,baseshift=0,minute=0,useset3=0,hankana=0,fidzero=0;
+int pstfm_nt;
long ucs=0;
int main(int argc, char ** argv)
diff --git a/Build/source/texk/makejvf/makejvf.h b/Build/source/texk/makejvf/makejvf.h
index b0594b6cbdf..3fab5b32ad3 100644
--- a/Build/source/texk/makejvf/makejvf.h
+++ b/Build/source/texk/makejvf/makejvf.h
@@ -3,6 +3,7 @@
extern char *vtfmname,*kanatfm,*jistfm,*ucsqtfm;
extern int unit,zh,zw,jfm_id;
extern int kanatume,chotai,baseshift,minute,hankana,fidzero;
+extern int pstfm_nt;
extern FILE *afp;
extern long ucs;
@@ -26,7 +27,6 @@ int fputnum2(int num, FILE *fp);
int fputstr(char *str, int byte, FILE *fp);
/* write.c */
-int pstfm_nt,pstfm_codes[256];
FILE *vfopen(char *name);
void writevf(int code, FILE *fp);
void writevfu(int code, FILE *fp);
diff --git a/Build/source/texk/makejvf/uniblock.c b/Build/source/texk/makejvf/uniblock.c
index 5c046ecc0a2..6aa14b1301e 100644
--- a/Build/source/texk/makejvf/uniblock.c
+++ b/Build/source/texk/makejvf/uniblock.c
@@ -5,6 +5,7 @@
#include "uniblock.h"
+int uniblock_iskanji;
struct ublock {
long min, max, cjk;
int kanji;
diff --git a/Build/source/texk/makejvf/uniblock.h b/Build/source/texk/makejvf/uniblock.h
index dfa1ce84b18..a92fb2a0f2a 100644
--- a/Build/source/texk/makejvf/uniblock.h
+++ b/Build/source/texk/makejvf/uniblock.h
@@ -20,7 +20,7 @@
#define ENTRY_GCJK ENTRY_G|ENTRY_C|ENTRY_J|ENTRY_K
extern int search_cjk_entry(int *ib, long ch, long cjk);
-int uniblock_iskanji;
+extern int uniblock_iskanji;
#define U_OPEN_SQUOTE 0x2018
#define U_CLOSE_SQUOTE 0x2019
diff --git a/Build/source/texk/makejvf/write.c b/Build/source/texk/makejvf/write.c
index ccab817a049..a55fe27e4f9 100644
--- a/Build/source/texk/makejvf/write.c
+++ b/Build/source/texk/makejvf/write.c
@@ -5,6 +5,8 @@
#include <stdio.h>
#include <stdlib.h>
+int pstfm_codes[256];
+
FILE *vfopen(char *name)
{
FILE *fp;