mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
* 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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user