]> granicus.if.org Git - graphviz/commitdiff
cgraph: fix legacy type signature in man page
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 14 Apr 2022 00:17:24 +0000 (17:17 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 19 Apr 2022 00:15:52 +0000 (17:15 -0700)
`agattr` was updated to take a `const char*` for `value` in
c5789870553e56ca80bcf233a1c7488538561ca3.

lib/cgraph/cgraph.3

index 9538e1ddc6ff924a3e6f8a52187d8bbe101079ad..67e35c2e9c59d69fa81e54d1c8babb7074f6d8a3 100644 (file)
@@ -89,7 +89,7 @@ Agedge_t      *agopp(Agedge_t *e);
 int            ageqedge(Agedge_t *e0, Agedge_t *e1);
 .SS "STRING ATTRIBUTES"
 .P0
-Agsym_t        *agattr(Agraph_t *g, int kind, char *name, char *value);
+Agsym_t        *agattr(Agraph_t *g, int kind, char *name, const char *value);
 Agsym_t        *agattrsym(void *obj, char *name);
 Agsym_t        *agnxtattr(Agraph_t *g, int kind, Agsym_t *attr);
 char           *agget(void *obj, char *name);