X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/853c670e4b839fd435507201f04d16080590a894..c9d96fcfcf9b74099775a3a260eccdfdc31474c7:/src/util.h diff --git a/src/util.h b/src/util.h index 9eac446..20692b0 100644 --- a/src/util.h +++ b/src/util.h @@ -34,7 +34,7 @@ void error_print(int type, int line, const char *error); void error_printf(int type, int line, const char *error, ...) G_GNUC_PRINTF (3, 4); /* remove the : separator from a typename */ -char * remove_sep(char *base); +char * remove_sep(const char *base); /* replace the : separator from a typename with a different character*/ char * replace_sep(const char *base, char r); @@ -59,7 +59,7 @@ enum { gboolean setup_special_array(Class *c, gboolean *special_array); /* get the id without the first underscore, but only if we're removing them */ -char *get_real_id(char *id); +const char *get_real_id(const char *id); #endif