hide some routines

This commit is contained in:
rsc 2005-01-04 22:20:21 +00:00
parent 1818ce0f28
commit 7e19561a6c
4 changed files with 19 additions and 19 deletions

View file

@ -648,15 +648,15 @@ static int Iconv(Fmt *f);
static void
buildinit(void)
{
runetabinit();
roman = cvtstringtab(_roman, nelem(_roman));
color_tab = cvtstringinttab(_color_tab, nelem(_color_tab));
method_tab = cvtstringinttab(_method_tab, nelem(_method_tab));
shape_tab = cvtstringinttab(_shape_tab, nelem(_shape_tab));
fscroll_tab = cvtstringinttab(_fscroll_tab, nelem(_fscroll_tab));
clear_tab = cvtstringinttab(_clear_tab, nelem(_clear_tab));
input_tab = cvtstringinttab(_input_tab, nelem(_input_tab));
align_tab = cvtstringinttab(_align_tab, nelem(_align_tab));
_runetabinit();
roman = _cvtstringtab(_roman, nelem(_roman));
color_tab = _cvtstringinttab(_color_tab, nelem(_color_tab));
method_tab = _cvtstringinttab(_method_tab, nelem(_method_tab));
shape_tab = _cvtstringinttab(_shape_tab, nelem(_shape_tab));
fscroll_tab = _cvtstringinttab(_fscroll_tab, nelem(_fscroll_tab));
clear_tab = _cvtstringinttab(_clear_tab, nelem(_clear_tab));
input_tab = _cvtstringinttab(_input_tab, nelem(_input_tab));
align_tab = _cvtstringinttab(_align_tab, nelem(_align_tab));
fmtinstall('I', Iconv);
targetmapinit();

View file

@ -440,10 +440,10 @@ static int lexinited = 0;
static void
lexinit(void)
{
chartab = cvtstringinttab(_chartab, nelem(_chartab));
tagnames = cvtstringtab(_tagnames, nelem(_tagnames));
chartab = _cvtstringinttab(_chartab, nelem(_chartab));
tagnames = _cvtstringtab(_tagnames, nelem(_tagnames));
tagtable = _makestrinttab(tagnames, Numtags);
attrnames = cvtstringtab(_attrnames, nelem(_attrnames));
attrnames = _cvtstringtab(_attrnames, nelem(_attrnames));
attrtable = _makestrinttab(attrnames, Numattrs);
fmtinstall('T', Tconv);
lexinited = 1;

View file

@ -50,7 +50,7 @@ char *_runeconsttab[] = {
};
Rune**
cvtstringtab(char **tab, int n)
_cvtstringtab(char **tab, int n)
{
int i;
Rune **rtab;
@ -62,7 +62,7 @@ cvtstringtab(char **tab, int n)
}
StringInt*
cvtstringinttab(AsciiInt *tab, int n)
_cvtstringinttab(AsciiInt *tab, int n)
{
int i;
StringInt *stab;
@ -76,8 +76,8 @@ cvtstringinttab(AsciiInt *tab, int n)
}
void
runetabinit(void)
_runetabinit(void)
{
runeconsttab = cvtstringtab(_runeconsttab, nelem(_runeconsttab));
runeconsttab = _cvtstringtab(_runeconsttab, nelem(_runeconsttab));
return;
}

View file

@ -54,6 +54,6 @@ enum {
extern Rune **runeconsttab;
/* XXX: for unix port only */
Rune **cvtstringtab(char**, int);
StringInt *cvtstringinttab(AsciiInt*, int);
void runetabinit(void);
Rune **_cvtstringtab(char**, int);
StringInt *_cvtstringinttab(AsciiInt*, int);
void _runetabinit(void);