]> granicus.if.org Git - graphviz/commitdiff
rename panic() to panic1() because of conflict on Darwin with /usr/include/mach/mach...
authorellson <devnull@localhost>
Tue, 27 Jun 2006 12:43:47 +0000 (12:43 +0000)
committerellson <devnull@localhost>
Tue, 27 Jun 2006 12:43:47 +0000 (12:43 +0000)
cmd/lefty/display.c

index 60d71a30bf11853c00eb069d83d792496b3bed2d..c6b158ad33df5271a2827295f1662049f8b7e599 100644 (file)
@@ -87,7 +87,7 @@ static void update (dnode_t *pnode) {
     indent += 2;
     n = ((Ttable_t *) pnode->vo)->n;
     if (!(list = malloc (n * sizeof (dnode_t))))
-        panic (POS, "update", "list malloc failed");
+        panic1 (POS, "update", "list malloc failed");
     for (
         cnode = &list[0], Tgetfirst (pnode->vo, &tkvi); tkvi.kvp;
         cnode++, Tgetnext (&tkvi)