]> granicus.if.org Git - graphviz/commitdiff
Removing all existing usage of USE_CGRAPH
authorellson <devnull@localhost>
Thu, 7 Aug 2008 17:17:46 +0000 (17:17 +0000)
committerellson <devnull@localhost>
Thu, 7 Aug 2008 17:17:46 +0000 (17:17 +0000)
    cgraph is now in full production in all these files

configure.ac still contains the --with-cgraph option in case Arif wants to use it.

cmd/tools/gvpack.c
cmd/tools/gxl2gv.c
cmd/tools/mmio.c

index 00731dc32c25f9877ff1e19d101f5ffcf3c5cbac..a6f2943ba8f64fd6409c92f3a8331f6482b7f6d2 100644 (file)
 #endif
 
 #include <assert.h>
-#include <gvc.h>
-#include <render.h>
-#include <neatoprocs.h>
-#include <ingraphs.h>
-#include <pack.h>
-#include <assert.h>
+#include "gvc.h"
+#include "render.h"
+#include "neatoprocs.h"
+#include "ingraphs.h"
+#include "pack.h"
 
 #include "builddate.h"
 
index aa7965c2d69475a09ad5d0d297af490f6ca66377..2f2f5dbea368be3f199b687da98144d5a52c729e 100644 (file)
 **********************************************************/
 
 
-#include    <convert.h>
-#ifndef USE_CGRAPH
-#include    "aghdr.h"
-#endif
+#include    "convert.h"
 #include    "agxbuf.h"
 #ifdef HAVE_EXPAT
 #include    <expat.h>
@@ -245,11 +242,7 @@ static Agedge_t *bind_edge(const char *tail, const char *head)
 
     tailNode = agnode(G, (char *) tail, 1);
     headNode = agnode(G, (char *) head, 1);
-#ifdef USE_CGRAPH
     E = agedge(G, tailNode, headNode, key, 1);
-#else
-    E = agedge(tailNode, headNode, key, 1);
-#endif
     return E;
 }
 
index c29a7e456ddeace46cf92c86438283f40c5f918b..9a45bd01fd6741b0c0da78e8e40131b519b4db71 100644 (file)
@@ -25,7 +25,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-/*#include <malloc.h>*/
 #include <ctype.h>
 
 #include "mmio.h"