From 13112984fd32d4684959a923497a9a476981283e Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sun, 8 Aug 2010 17:37:46 +0000 Subject: * hyper/ex2ht.c (strPrefix): Be const-correct. * hyper/htinp.c (get_graph_output): Likewise. (print_paste): Likewise. (print_graph_paste): Likewise. * hyper/initx.c (get_color): Likewise. * hyper/keyin.c (handle_key): Likewise. * hyper/lex.c (token_table): Likewise. * hyper/macro.c (number): Likewise. * hyper/mem.c (alloc_page): Likewise. * hyper/parse-aux.c (make_special_page): Likewise. (is_number): Likewise. * hyper/parse-types.c (errmess): Likewise. * lib/sockio-c.c (oa_socket_read): Cast to second argument to appropriate type. (oa_socket_read_byte): Likewise. --- src/hyper/parse-types.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hyper/parse-types.c') diff --git a/src/hyper/parse-types.c b/src/hyper/parse-types.c index 67bbc252..9f0ddeaf 100644 --- a/src/hyper/parse-types.c +++ b/src/hyper/parse-types.c @@ -61,7 +61,7 @@ boolean gInItems = FALSE; boolean gInOptional = FALSE; -static char *errmess[] = { +static const char* errmess[] = { "place holder", "parsing condition node", "unrecognized keyword" @@ -78,7 +78,7 @@ static char *errmess[] = { */ static void -htperror(char *msg, int erno) +htperror(const char* msg, int erno) { char obuff[256]; -- cgit v1.2.3