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

Diff for /mandoc/Attic/terminal.c between version 1.5 and 1.7

version 1.5, 2009/03/21 13:09:29 version 1.7, 2009/03/23 15:20:51
Line 46  static void    term_nescape(struct termp *,
Line 46  static void    term_nescape(struct termp *,
 static  void              term_chara(struct termp *, char);  static  void              term_chara(struct termp *, char);
 static  void              term_stringa(struct termp *,  static  void              term_stringa(struct termp *,
                                 const char *, size_t);                                  const char *, size_t);
 static  int               term_isopendelim(const char *, size_t);  static  int               term_isopendelim(const char *, int);
 static  int               term_isclosedelim(const char *, size_t);  static  int               term_isclosedelim(const char *, int);
 static  void              sanity(const struct mdoc_node *); /* XXX */  static  void              sanity(const struct mdoc_node *); /* XXX */
   
   
Line 76  ascii_alloc(void)
Line 76  ascii_alloc(void)
   
   
 int  int
 terminal_run(void *arg, const struct mdoc *mdoc)  terminal_run(void *arg, const struct man *man,
                   const struct mdoc *mdoc)
 {  {
         struct termp    *p;          struct termp    *p;
   
           if (NULL == mdoc)
                   return(1);
   
         p = (struct termp *)arg;          p = (struct termp *)arg;
   
         if (NULL == p->symtab)          if (NULL == p->symtab)
Line 129  term_alloc(enum termenc enc)
Line 133  term_alloc(enum termenc enc)
   
   
 static int  static int
 term_isclosedelim(const char *p, size_t len)  term_isclosedelim(const char *p, int len)
 {  {
   
         if (1 != len)          if (1 != len)
Line 163  term_isclosedelim(const char *p, size_t len)
Line 167  term_isclosedelim(const char *p, size_t len)
   
   
 static int  static int
 term_isopendelim(const char *p, size_t len)  term_isopendelim(const char *p, int len)
 {  {
   
         if (1 != len)          if (1 != len)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

CVSweb