aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/ex2ht.c
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-08-08 17:37:46 +0000
committerdos-reis <gdr@axiomatics.org>2010-08-08 17:37:46 +0000
commit13112984fd32d4684959a923497a9a476981283e (patch)
tree05c9b0a7efa76555aec9b49abf9203f4c1d462bf /src/hyper/ex2ht.c
parent45103d600768000e5c242fe478ff9468526bb8f6 (diff)
downloadopen-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/ex2ht.c')
-rw-r--r--src/hyper/ex2ht.c2
1 files changed, 1 insertions, 1 deletions
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++;