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

Diff for /mandoc/roff_html.c between version 1.1 and 1.2

version 1.1, 2017/05/04 22:16:09 version 1.2, 2017/05/05 02:06:19
Line 17 
Line 17 
 #include <sys/types.h>  #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
   #include <stddef.h>
   
 #include "roff.h"  #include "roff.h"
 #include "out.h"  #include "out.h"
Line 30  static void   roff_html_pre_br(ROFF_HTML_ARGS);
Line 31  static void   roff_html_pre_br(ROFF_HTML_ARGS);
   
 static  const roff_html_pre_fp roff_html_pre_acts[ROFF_MAX] = {  static  const roff_html_pre_fp roff_html_pre_acts[ROFF_MAX] = {
         roff_html_pre_br,  /* br */          roff_html_pre_br,  /* br */
           NULL,  /* ft */
 };  };
   
   
Line 37  void
Line 39  void
 roff_html_pre(struct html *h, const struct roff_node *n)  roff_html_pre(struct html *h, const struct roff_node *n)
 {  {
         assert(n->tok < ROFF_MAX);          assert(n->tok < ROFF_MAX);
         (*roff_html_pre_acts[n->tok])(h, n);          if (roff_html_pre_acts[n->tok] != NULL)
                   (*roff_html_pre_acts[n->tok])(h, n);
 }  }
   
 static void  static void

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb