[BACK]Return to term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/term.c between version 1.98 and 1.99

version 1.98, 2009/09/15 08:16:20 version 1.99, 2009/09/16 09:41:24
Line 24 
Line 24 
 #include "man.h"  #include "man.h"
 #include "mdoc.h"  #include "mdoc.h"
   
 extern  int               man_run(struct termp *,  extern  void              man_run(struct termp *,
                                 const struct man *);                                  const struct man *);
 extern  int               mdoc_run(struct termp *,  extern  void              mdoc_run(struct termp *,
                                 const struct mdoc *);                                  const struct mdoc *);
   
 static  struct termp     *term_alloc(enum termenc);  static  struct termp     *term_alloc(enum termenc);
Line 51  ascii_alloc(void)
Line 51  ascii_alloc(void)
 }  }
   
   
 int  void
 terminal_man(void *arg, const struct man *man)  terminal_man(void *arg, const struct man *man)
 {  {
         struct termp    *p;          struct termp    *p;
Line 60  terminal_man(void *arg, const struct man *man)
Line 60  terminal_man(void *arg, const struct man *man)
         if (NULL == p->symtab)          if (NULL == p->symtab)
                 p->symtab = term_ascii2htab();                  p->symtab = term_ascii2htab();
   
         return(man_run(p, man));          man_run(p, man);
 }  }
   
   
 int  void
 terminal_mdoc(void *arg, const struct mdoc *mdoc)  terminal_mdoc(void *arg, const struct mdoc *mdoc)
 {  {
         struct termp    *p;          struct termp    *p;
Line 73  terminal_mdoc(void *arg, const struct mdoc *mdoc)
Line 73  terminal_mdoc(void *arg, const struct mdoc *mdoc)
         if (NULL == p->symtab)          if (NULL == p->symtab)
                 p->symtab = term_ascii2htab();                  p->symtab = term_ascii2htab();
   
         return(mdoc_run(p, mdoc));          mdoc_run(p, mdoc);
 }  }
   
   

Legend:
Removed from v.1.98  
changed lines
  Added in v.1.99

CVSweb