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

Diff for /docbook2mdoc/node.c between version 1.8 and 1.9

version 1.8, 2019/04/11 04:23:22 version 1.9, 2019/04/12 04:39:24
Line 74  attrval_parse(const char *name)
Line 74  attrval_parse(const char *name)
         return val;          return val;
 }  }
   
   struct pnode *
   pnode_alloc(struct pnode *np)
   {
           struct pnode    *n;
   
           if ((n = calloc(1, sizeof(*n))) != NULL) {
                   TAILQ_INIT(&n->childq);
                   TAILQ_INIT(&n->attrq);
                   if ((n->parent = np) != NULL)
                           TAILQ_INSERT_TAIL(&np->childq, n, child);
           }
           return n;
   }
   
 /*  /*
  * Recursively free a node (NULL is ok).   * Recursively free a node (NULL is ok).
  */   */

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb