diff options
author | dos-reis <gdr@axiomatics.org> | 2010-08-08 17:37:46 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-08-08 17:37:46 +0000 |
commit | 13112984fd32d4684959a923497a9a476981283e (patch) | |
tree | 05c9b0a7efa76555aec9b49abf9203f4c1d462bf /src/hyper/parse-types.c | |
parent | 45103d600768000e5c242fe478ff9468526bb8f6 (diff) | |
download | open-axiom-13112984fd32d4684959a923497a9a476981283e.tar.gz |
* 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.
Diffstat (limited to 'src/hyper/parse-types.c')
-rw-r--r-- | src/hyper/parse-types.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]; |