From: Matthew Fernandez Date: Tue, 29 Jun 2021 00:26:17 +0000 (-0700) Subject: remove prototype for unimplemented agrelabel X-Git-Tag: 2.48.0~20^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94abdfae25f7c622ec0c14d308f3042e42c6149a;p=graphviz remove prototype for unimplemented agrelabel I do not know why this function was described as “scary.” However, it seems it was so scary no one in Graphviz’ history ever implemented it. --- diff --git a/lib/cgraph/cgraph.h b/lib/cgraph/cgraph.h index a043fb26d..968471423 100644 --- a/lib/cgraph/cgraph.h +++ b/lib/cgraph/cgraph.h @@ -294,7 +294,6 @@ CGRAPH_API Agraph_t *agraphof(void* obj); CGRAPH_API Agraph_t *agroot(void* obj); CGRAPH_API int agcontains(Agraph_t *, void *); CGRAPH_API char *agnameof(void *); -CGRAPH_API int agrelabel(void *obj, char *name); /* scary */ CGRAPH_API int agrelabel_node(Agnode_t * n, char *newname); CGRAPH_API int agdelete(Agraph_t * g, void *obj); CGRAPH_API int agdelsubg(Agraph_t * g, Agraph_t * sub); /* could be agclose */