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/initx.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/initx.c')
-rw-r--r-- | src/hyper/initx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hyper/initx.c b/src/hyper/initx.c index 45a9ff4d..c4d212dd 100644 --- a/src/hyper/initx.c +++ b/src/hyper/initx.c @@ -75,7 +75,7 @@ extern int gethostname(char *, int ); static void get_GCs(HDWindow * window); static int get_border_properties(void); -static int get_color(char * , char * , int, Colormap*); +static int get_color(const char* , const char* , int, Colormap*); static void ingItColors_and_fonts(void); static void load_font(XFontStruct * * font_info , char * fontname); static void mergeDatabases(void); @@ -897,7 +897,7 @@ change_text(int color, XFontStruct *font) */ static int -get_color(char *name, char *klass, int def, Colormap *map) +get_color(const char *name, const char *klass, int def, Colormap *map) { char fullname[256]; char fullclass[256]; |