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/ex2ht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hyper/ex2ht.c') diff --git a/src/hyper/ex2ht.c b/src/hyper/ex2ht.c index 48556777..a109339a 100644 --- a/src/hyper/ex2ht.c +++ b/src/hyper/ex2ht.c @@ -164,7 +164,7 @@ emitFooter(FILE *outFile) static char * -strPrefix(char* prefix, char *s) +strPrefix(const char* prefix, char *s) { while (*prefix != '\0' && *prefix == *s) { prefix++; -- cgit v1.2.3