diff options
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/writefont.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/writefont.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/writefont.c b/Build/source/texk/web2c/pdftexdir/writefont.c index 30ed172bad0..5752b968120 100644 --- a/Build/source/texk/web2c/pdftexdir/writefont.c +++ b/Build/source/texk/web2c/pdftexdir/writefont.c @@ -47,7 +47,7 @@ static int comp_fd_entry(const void *pa, const void *pb, void *p) /**********************************************************************/ /* initialize data structure for /Type /Font */ -fo_entry *new_fo_entry(void) +static fo_entry *new_fo_entry(void) { fo_entry *fo; fo = xtalloc(1, fo_entry); @@ -92,7 +92,7 @@ fd_entry *new_fd_entry(void) /* initialize data structure for /Widths array object */ -cw_entry *new_cw_entry(void) +static cw_entry *new_cw_entry(void) { cw_entry *cw; cw = xtalloc(1, cw_entry); @@ -183,7 +183,7 @@ static void preset_fontname(fo_entry * fo) fo->fd->fontname = xstrdup(fo->fm->tfm_name); } -static void write_fontname(fd_entry * fd, char *key) +static void write_fontname(fd_entry * fd, const char *key) { assert(fd->fontname != NULL); pdf_puts("/"); @@ -220,7 +220,7 @@ fd_entry *lookup_fd_entry(char *s, integer slant, integer extend) return (fd_entry *) avl_find(fd_tree, &fd); } -fd_entry *lookup_fontdescriptor(fo_entry * fo) +static fd_entry *lookup_fontdescriptor(fo_entry * fo) { assert(fo != NULL); assert(fo->fm != NULL); @@ -241,7 +241,7 @@ void register_fd_entry(fd_entry * fd) assert(aa != NULL); } -void create_fontdescriptor(fo_entry * fo, internalfontnumber f) +static void create_fontdescriptor(fo_entry * fo, internalfontnumber f) { assert(fo != NULL); assert(fo->fm != NULL); @@ -262,7 +262,7 @@ void create_fontdescriptor(fo_entry * fo, internalfontnumber f) * tree gl_tree of font descriptor fd referenced by font dictionary fo. */ -void mark_reenc_glyphs(fo_entry * fo, internalfontnumber f) +static void mark_reenc_glyphs(fo_entry * fo, internalfontnumber f) { int i; char **g; @@ -288,7 +288,7 @@ void mark_reenc_glyphs(fo_entry * fo, internalfontnumber f) * 2. Mark encoding pairs used by TeX to optimize encoding vector. */ -struct avl_table *mark_chars(fo_entry * fo, struct avl_table *tx_tree, +static struct avl_table *mark_chars(fo_entry * fo, struct avl_table *tx_tree, internalfontnumber f) { int i, *j; @@ -310,7 +310,7 @@ struct avl_table *mark_chars(fo_entry * fo, struct avl_table *tx_tree, /**********************************************************************/ -void get_char_range(fo_entry * fo, internalfontnumber f) +static void get_char_range(fo_entry * fo, internalfontnumber f) { int i; assert(fo != NULL); @@ -329,7 +329,7 @@ void get_char_range(fo_entry * fo, internalfontnumber f) } } -void create_charwidth_array(fo_entry * fo, internalfontnumber f) +static void create_charwidth_array(fo_entry * fo, internalfontnumber f) { int i; assert(fo != NULL); @@ -369,7 +369,7 @@ static void write_charwidth_array(fo_entry * fo) * into fo_tree; they are individually written out. */ -fo_entry *lookup_fo_entry(char *s) +static fo_entry *lookup_fo_entry(char *s) { fo_entry fo; fm_entry fm; @@ -383,7 +383,7 @@ fo_entry *lookup_fo_entry(char *s) return (fo_entry *) avl_find(fo_tree, &fo); } -void register_fo_entry(fo_entry * fo) +static void register_fo_entry(fo_entry * fo) { void **aa; if (fo_tree == NULL) { @@ -507,7 +507,7 @@ static void write_fontdescriptor(fd_entry * fd) pdfenddict(); } -void write_fontdescriptors() +static void write_fontdescriptors(void) { fd_entry *fd; struct avl_traverser t; @@ -521,7 +521,7 @@ void write_fontdescriptors() /**********************************************************************/ -void write_fontdictionary(fo_entry * fo) +static void write_fontdictionary(fo_entry * fo) { assert(fo != NULL); assert(fo->fm != NULL); @@ -569,7 +569,7 @@ void write_fontdictionary(fo_entry * fo) pdfenddict(); } -void write_fontdictionaries() +static void write_fontdictionaries(void) { fo_entry *fo; struct avl_traverser t; @@ -587,7 +587,7 @@ void write_fontdictionaries() * @<Output fonts definition@>= in pdftex.web. */ -void writefontstuff() +void writefontstuff(void) { write_fontdescriptors(); write_fontencodings(); /* see writeenc.c */ @@ -596,7 +596,7 @@ void writefontstuff() /**********************************************************************/ -void create_fontdictionary(fm_entry * fm, integer font_objnum, +static void create_fontdictionary(fm_entry * fm, integer font_objnum, internalfontnumber f) { fo_entry *fo = new_fo_entry(); |