texlive[44805] Build/source/texk/makejvf: makejvf: better declaration
commits+hironobu at tug.org
commits+hironobu at tug.org
Sat Jul 15 10:12:12 CEST 2017
Revision: 44805
http://tug.org/svn/texlive?view=revision&revision=44805
Author: hironobu
Date: 2017-07-15 10:12:12 +0200 (Sat, 15 Jul 2017)
Log Message:
-----------
makejvf: better declaration
Modified Paths:
--------------
trunk/Build/source/texk/makejvf/main.c
trunk/Build/source/texk/makejvf/makejvf.h
trunk/Build/source/texk/makejvf/uniblock.c
trunk/Build/source/texk/makejvf/uniblock.h
trunk/Build/source/texk/makejvf/write.c
Modified: trunk/Build/source/texk/makejvf/main.c
===================================================================
--- trunk/Build/source/texk/makejvf/main.c 2017-07-15 04:06:19 UTC (rev 44804)
+++ trunk/Build/source/texk/makejvf/main.c 2017-07-15 08:12:12 UTC (rev 44805)
@@ -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)
Modified: trunk/Build/source/texk/makejvf/makejvf.h
===================================================================
--- trunk/Build/source/texk/makejvf/makejvf.h 2017-07-15 04:06:19 UTC (rev 44804)
+++ trunk/Build/source/texk/makejvf/makejvf.h 2017-07-15 08:12:12 UTC (rev 44805)
@@ -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 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);
Modified: trunk/Build/source/texk/makejvf/uniblock.c
===================================================================
--- trunk/Build/source/texk/makejvf/uniblock.c 2017-07-15 04:06:19 UTC (rev 44804)
+++ trunk/Build/source/texk/makejvf/uniblock.c 2017-07-15 08:12:12 UTC (rev 44805)
@@ -5,6 +5,7 @@
#include "uniblock.h"
+int uniblock_iskanji;
struct ublock {
long min, max, cjk;
int kanji;
Modified: trunk/Build/source/texk/makejvf/uniblock.h
===================================================================
--- trunk/Build/source/texk/makejvf/uniblock.h 2017-07-15 04:06:19 UTC (rev 44804)
+++ trunk/Build/source/texk/makejvf/uniblock.h 2017-07-15 08:12:12 UTC (rev 44805)
@@ -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
Modified: trunk/Build/source/texk/makejvf/write.c
===================================================================
--- trunk/Build/source/texk/makejvf/write.c 2017-07-15 04:06:19 UTC (rev 44804)
+++ trunk/Build/source/texk/makejvf/write.c 2017-07-15 08:12:12 UTC (rev 44805)
@@ -5,6 +5,8 @@
#include <stdio.h>
#include <stdlib.h>
+int pstfm_codes[256];
+
FILE *vfopen(char *name)
{
FILE *fp;
More information about the tex-live-commits
mailing list