diff options
-rw-r--r-- | chars.c | 2 | ||||
-rw-r--r-- | html.c | 2 | ||||
-rw-r--r-- | man_term.c | 2 | ||||
-rw-r--r-- | mandoc.h | 2 | ||||
-rw-r--r-- | mdoc_term.c | 2 |
5 files changed, 5 insertions, 5 deletions
@@ -71,7 +71,7 @@ mchars_free(struct mchars *arg) } struct mchars * -mchars_init(void) +mchars_alloc(void) { struct mchars *tab; struct ln **htab; @@ -122,7 +122,7 @@ ml_alloc(char *outopts, enum htmltype type) h->type = type; h->tags.head = NULL; - h->symtab = mchars_init(); + h->symtab = mchars_alloc(); while (outopts && *outopts) switch (getsubopt(&outopts, UNCONST(toks), &v)) { @@ -158,7 +158,7 @@ terminal_man(void *arg, const struct man *man) if (NULL == p->symtab) switch (p->enc) { case (TERMENC_ASCII): - p->symtab = mchars_init(); + p->symtab = mchars_alloc(); break; default: abort(); @@ -327,7 +327,7 @@ void *mandoc_realloc(void *, size_t); enum mandoc_esc mandoc_escape(const char **, const char **, int *); -struct mchars *mchars_init(void); +struct mchars *mchars_alloc(void); const char *mchars_num2char(const char *, size_t); const char *mchars_spec2str(struct mchars *, const char *, size_t, size_t *); int mchars_spec2cp(struct mchars *, const char *, size_t); diff --git a/mdoc_term.c b/mdoc_term.c index 6cdfa344..0ccacd66 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -266,7 +266,7 @@ terminal_mdoc(void *arg, const struct mdoc *mdoc) if (NULL == p->symtab) switch (p->enc) { case (TERMENC_ASCII): - p->symtab = mchars_init(); + p->symtab = mchars_alloc(); break; default: abort(); |