From dd0a8ceead437a8af18a17404ba66458f51970e9 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 7 Aug 2008 17:17:46 +0000 Subject: [PATCH] Removing all existing usage of USE_CGRAPH 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 | 11 +++++------ cmd/tools/gxl2gv.c | 9 +-------- cmd/tools/mmio.c | 1 - 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/cmd/tools/gvpack.c b/cmd/tools/gvpack.c index 00731dc32..a6f2943ba 100644 --- a/cmd/tools/gvpack.c +++ b/cmd/tools/gvpack.c @@ -30,12 +30,11 @@ #endif #include -#include -#include -#include -#include -#include -#include +#include "gvc.h" +#include "render.h" +#include "neatoprocs.h" +#include "ingraphs.h" +#include "pack.h" #include "builddate.h" diff --git a/cmd/tools/gxl2gv.c b/cmd/tools/gxl2gv.c index aa7965c2d..2f2f5dbea 100644 --- a/cmd/tools/gxl2gv.c +++ b/cmd/tools/gxl2gv.c @@ -15,10 +15,7 @@ **********************************************************/ -#include -#ifndef USE_CGRAPH -#include "aghdr.h" -#endif +#include "convert.h" #include "agxbuf.h" #ifdef HAVE_EXPAT #include @@ -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; } diff --git a/cmd/tools/mmio.c b/cmd/tools/mmio.c index c29a7e456..9a45bd01f 100644 --- a/cmd/tools/mmio.c +++ b/cmd/tools/mmio.c @@ -25,7 +25,6 @@ #include #include #include -/*#include */ #include #include "mmio.h" -- 2.40.0