=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/term.c,v retrieving revision 1.12 retrieving revision 1.13 diff -c -r1.12 -r1.13 *** src/usr.bin/mandoc/term.c 2009/09/21 20:28:43 1.12 --- src/usr.bin/mandoc/term.c 2009/09/21 20:57:57 1.13 *************** *** 1,4 **** ! /* $Id: term.c,v 1.12 2009/09/21 20:28:43 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * --- 1,4 ---- ! /* $Id: term.c,v 1.13 2009/09/21 20:57:57 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * *************** *** 24,32 **** #include "man.h" #include "mdoc.h" ! extern int man_run(struct termp *, const struct man *); ! extern int mdoc_run(struct termp *, const struct mdoc *); static struct termp *term_alloc(enum termenc); --- 24,32 ---- #include "man.h" #include "mdoc.h" ! extern void man_run(struct termp *, const struct man *); ! extern void mdoc_run(struct termp *, const struct mdoc *); static struct termp *term_alloc(enum termenc); *************** *** 51,57 **** } ! int terminal_man(void *arg, const struct man *man) { struct termp *p; --- 51,57 ---- } ! void terminal_man(void *arg, const struct man *man) { struct termp *p; *************** *** 60,70 **** if (NULL == p->symtab) p->symtab = term_ascii2htab(); ! return(man_run(p, man)); } ! int terminal_mdoc(void *arg, const struct mdoc *mdoc) { struct termp *p; --- 60,70 ---- if (NULL == p->symtab) p->symtab = term_ascii2htab(); ! man_run(p, man); } ! void terminal_mdoc(void *arg, const struct mdoc *mdoc) { struct termp *p; *************** *** 73,79 **** if (NULL == p->symtab) p->symtab = term_ascii2htab(); ! return(mdoc_run(p, mdoc)); } --- 73,79 ---- if (NULL == p->symtab) p->symtab = term_ascii2htab(); ! mdoc_run(p, mdoc); }