X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/853c670e4b839fd435507201f04d16080590a894..c9d96fcfcf9b74099775a3a260eccdfdc31474c7:/src/checks.c diff --git a/src/checks.c b/src/checks.c index 9283309..2bb3b69 100644 --- a/src/checks.c +++ b/src/checks.c @@ -32,13 +32,13 @@ #include "checks.h" static void -check_duplicate(Class *c, Node *node, char *id, int line_no, +check_duplicate(Class *c, Node *node, const char *id, int line_no, gboolean underscore) { GList *l; for(l = c->nodes; l != NULL; l = g_list_next(l)) { Node *n = l->data; - char *nid; + const char *nid; int nline_no; gboolean here_underscore = FALSE; if(n->type == METHOD_NODE) { @@ -183,12 +183,12 @@ check_bad_symbols(Class *c) } static void -check_duplicate_named(Class *c, Node *node, char *id, int line_no) +check_duplicate_named(Class *c, Node *node, const char *id, int line_no) { GList *l; for(l = c->nodes; l != NULL; l = g_list_next(l)) { Node *n = l->data; - char *nid; + const char *nid; int nline_no; if(n->type == METHOD_NODE) { Method *m = (Method *)n;