From d6913362f4a090fafd24251774684176a8d87b8b Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Tue, 2 Jul 2013 17:04:30 -0400 Subject: [PATCH] Rename helper functions to access A*info_t structures; avoids conflict with type name --- lib/common/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common/utils.c b/lib/common/utils.c index 126cd4ca9..19ed3b4f2 100644 --- a/lib/common/utils.c +++ b/lib/common/utils.c @@ -2127,7 +2127,7 @@ findCluster (Dt_t* map, char* name) #endif #ifdef WITH_CGRAPH -Agnodeinfo_t* ninfo(Agnode_t* n) {return (Agnodeinfo_t*)AGDATA(n);} -Agraphinfo_t* ginfo(Agraph_t* g) {return (Agraphinfo_t*)AGDATA(g);} -Agedgeinfo_t* einfo(Agedge_t* e) {return (Agedgeinfo_t*)AGDATA(e);} +Agnodeinfo_t* ninf(Agnode_t* n) {return (Agnodeinfo_t*)AGDATA(n);} +Agraphinfo_t* ginf(Agraph_t* g) {return (Agraphinfo_t*)AGDATA(g);} +Agedgeinfo_t* einf(Agedge_t* e) {return (Agedgeinfo_t*)AGDATA(e);} #endif -- 2.40.0