From 5007e2638aee0cf90df05ab07fbf89bc9136e64b Mon Sep 17 00:00:00 2001 From: ellson Date: Sat, 8 Jul 2006 17:33:49 +0000 Subject: [PATCH] remove DMALLOC bits various include fixups (eg some missing string.h) --- lib/agraph/refstr.c | 7 ++----- lib/agraph/scan.l | 6 ++++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/agraph/refstr.c b/lib/agraph/refstr.c index 263d7db1a..8853d3e43 100644 --- a/lib/agraph/refstr.c +++ b/lib/agraph/refstr.c @@ -15,11 +15,8 @@ **********************************************************/ -#include - -#ifdef DMALLOC -#include "dmalloc.h" -#endif +#include +#include "aghdr.h" /* * reference counted strings. diff --git a/lib/agraph/scan.l b/lib/agraph/scan.l index e9e831acf..4789242c7 100644 --- a/lib/agraph/scan.l +++ b/lib/agraph/scan.l @@ -17,9 +17,11 @@ /* requires flex (i.e. not lex) */ %{ -#include -#include +#include #include +#include "grammar.h" +#include "aghdr.h" + #define GRAPH_EOF_TOKEN '@' /* lex class must be defined below */ /* this is a workaround for linux flex */ static int line_num = 1; -- 2.40.0