* src/vcg.h (classname_s, infoname_s, node_s): Constify the

char * members.
Echo modifications to the functions prototypes.
* src/vcg.c (add_classname, add_infoname): Adjust arguments.
This commit is contained in:
Marc Autret
2001-08-27 22:16:23 +00:00
parent b1722803ec
commit 19553c4e06
3 changed files with 16 additions and 9 deletions

View File

@@ -427,7 +427,7 @@ add_edge (graph_t *graph, edge_t *edge)
}
void
add_classname (graph_t *g, int val, char *name)
add_classname (graph_t *g, int val, const char *name)
{
struct classname_s *classname;
@@ -439,7 +439,7 @@ add_classname (graph_t *g, int val, char *name)
}
void
add_infoname (graph_t *g, int integer, char *string)
add_infoname (graph_t *g, int integer, const char *string)
{
struct infoname_s *infoname;