return 0;
}
-static Agsym_t *agraphattr(Agraph_t *g, char *name, char *value)
-{
+static Agsym_t *agraphattr(Agraph_t *g, char *name, const char *value) {
return agattr(g, AGRAPH, name, value);
}
-static Agsym_t *agnodeattr(Agraph_t *g, char *name, char *value)
-{
+static Agsym_t *agnodeattr(Agraph_t *g, char *name, const char *value) {
return agattr(g, AGNODE, name, value);
}
-static Agsym_t *agedgeattr(Agraph_t *g, char *name, char *value)
-{
+static Agsym_t *agedgeattr(Agraph_t *g, char *name, const char *value) {
return agattr(g, AGEDGE, name, value);
}
*/
static void
fillGraph(Agraph_t * g, Dt_t * d,
- Agsym_t * (*setf) (Agraph_t *, char *, char *), int cnt)
+ Agsym_t * (*setf) (Agraph_t *, char *, const char *), int cnt)
{
attr_t *av;
for (av = (attr_t *) dtflatten(d); av;