[BACK]Return to term.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/term.c between version 1.12 and 1.13

version 1.12, 2009/09/21 20:28:43 version 1.13, 2009/09/21 20:57:57
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 
Line 51 
 }  }
   
   
 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 
Line 60 
         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 
Line 73 
         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.12  
changed lines
  Added in v.1.13