=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/term_ascii.c,v retrieving revision 1.36 retrieving revision 1.37 diff -c -r1.36 -r1.37 *** src/usr.bin/mandoc/term_ascii.c 2015/10/12 00:07:27 1.36 --- src/usr.bin/mandoc/term_ascii.c 2015/10/13 22:57:49 1.37 *************** *** 1,4 **** ! /* $OpenBSD: term_ascii.c,v 1.36 2015/10/12 00:07:27 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: term_ascii.c,v 1.37 2015/10/13 22:57:49 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze *************** *** 32,39 **** #include "manconf.h" #include "main.h" ! static struct termp *ascii_init(enum termenc, const struct mchars *, ! const struct manoutput *); static int ascii_hspan(const struct termp *, const struct roffsu *); static size_t ascii_width(const struct termp *, int); --- 32,38 ---- #include "manconf.h" #include "main.h" ! static struct termp *ascii_init(enum termenc, const struct manoutput *); static int ascii_hspan(const struct termp *, const struct roffsu *); static size_t ascii_width(const struct termp *, int); *************** *** 51,65 **** static struct termp * ! ascii_init(enum termenc enc, const struct mchars *mchars, ! const struct manoutput *outopts) { char *v; struct termp *p; p = mandoc_calloc(1, sizeof(struct termp)); - p->symtab = mchars; p->line = 1; p->tabwidth = 5; p->defrmargin = p->lastrmargin = 78; --- 50,62 ---- static struct termp * ! ascii_init(enum termenc enc, const struct manoutput *outopts) { char *v; struct termp *p; p = mandoc_calloc(1, sizeof(struct termp)); p->line = 1; p->tabwidth = 5; p->defrmargin = p->lastrmargin = 78; *************** *** 107,130 **** } void * ! ascii_alloc(const struct mchars *mchars, const struct manoutput *outopts) { ! return ascii_init(TERMENC_ASCII, mchars, outopts); } void * ! utf8_alloc(const struct mchars *mchars, const struct manoutput *outopts) { ! return ascii_init(TERMENC_UTF8, mchars, outopts); } void * ! locale_alloc(const struct mchars *mchars, const struct manoutput *outopts) { ! return ascii_init(TERMENC_LOCALE, mchars, outopts); } static void --- 104,127 ---- } void * ! ascii_alloc(const struct manoutput *outopts) { ! return ascii_init(TERMENC_ASCII, outopts); } void * ! utf8_alloc(const struct manoutput *outopts) { ! return ascii_init(TERMENC_UTF8, outopts); } void * ! locale_alloc(const struct manoutput *outopts) { ! return ascii_init(TERMENC_LOCALE, outopts); } static void