From: Matthew Fernandez Date: Sun, 26 Dec 2021 03:46:31 +0000 (-0800) Subject: remove problematic 'agmkin', 'agmkout' X-Git-Tag: 3.0.0~96^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f89b538b45c2c028fb8c8abe3c08914f16ae92f;p=graphviz remove problematic 'agmkin', 'agmkout' These functions were introduced in c9b7b0719776e022d760195fae2727b84be82eda to match `AGMKOUT` and `AGMKIN` (#1212). But there are no exposed prototypes for these. So the only way to call them is to externally prototype them with a best-guess type signature and hope Graphviz never changes. This commit removes them to reduce portability problems. --- diff --git a/lib/cgraph/edge.c b/lib/cgraph/edge.c index 47e9aa1cf..0b1e195b6 100644 --- a/lib/cgraph/edge.c +++ b/lib/cgraph/edge.c @@ -480,22 +480,6 @@ CGRAPH_API int ageqedge(Agedge_t * e, Agedge_t * f) return AGEQEDGE(e, f); } -#ifdef agmkout -#undef agmkout -#endif -CGRAPH_API Agedge_t *agmkout(Agedge_t * e) -{ - return AGMKOUT(e); -} - -#ifdef agmkin -#undef agmkin -#endif -CGRAPH_API Agedge_t *agmkin(Agedge_t * e) -{ - return AGMKIN(e); -} - #ifdef agtail #undef agtail #endif