diff options
author | dos-reis <gdr@axiomatics.org> | 2012-08-19 01:25:10 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2012-08-19 01:25:10 +0000 |
commit | e125fb2cf60581e98bc6e7a65a818533fe1917c4 (patch) | |
tree | ea54085ce2144de3ef371b1e62de36c85c74b095 /src/lib | |
parent | 308f70df7e403e68e0ae936ad00500ad46a914b9 (diff) | |
download | open-axiom-e125fb2cf60581e98bc6e7a65a818533fe1917c4.tar.gz |
* include/sockio.h (connect_to_local_server): First parameter now
const char*.
* include/pixmap.h (zzopen): Second parameter now const char*.
* lib/pixmap.c: Propagate change.
* lib/sockio-c.c: Likewise.
* hyper/parse-types.c (parse_verbatim): Tidy.
* hyper/spadint.c (print_source_to_string1): Likewise.
* hyper/initx.h (init_top_window): Change parameter type to const
char*.
* hyper/initx.c: Propagate change.
* hyper/titlebar.c: Tidy.
(set_name_and_icon): icon_name is now of type const char*.
(get_border_properties): bwidth is not of type const char*.
(mergeDatabases): classname is now of type const char*.
(is_it_850): probtbl.name is now of type const char*.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/pixmap.c | 2 | ||||
-rw-r--r-- | src/lib/sockio-c.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/pixmap.c b/src/lib/pixmap.c index c09af5a6..2d321743 100644 --- a/src/lib/pixmap.c +++ b/src/lib/pixmap.c @@ -70,7 +70,7 @@ file_exists(char *file) } FILE * -zzopen(char *file,char * mode) +zzopen(char *file, const char* mode) { char com[512], zfile[512]; diff --git a/src/lib/sockio-c.c b/src/lib/sockio-c.c index a7efa4e2..21ef5504 100644 --- a/src/lib/sockio-c.c +++ b/src/lib/sockio-c.c @@ -971,7 +971,7 @@ sock_send_wakeup(int purpose) } OPENAXIOM_C_EXPORT openaxiom_sio * -connect_to_local_server_new(char *server_name, int purpose, int time_out) +connect_to_local_server_new(const char *server_name, int purpose, int time_out) { int max_con=(time_out == 0 ? 1000000 : time_out), i, code=-1; openaxiom_sio *sock; @@ -1023,7 +1023,7 @@ connect_to_local_server_new(char *server_name, int purpose, int time_out) } OPENAXIOM_C_EXPORT openaxiom_sio * -connect_to_local_server(char *server_name, int purpose, int time_out) +connect_to_local_server(const char *server_name, int purpose, int time_out) { int max_con=(time_out == 0 ? 1000000 : time_out), i, code=-1; openaxiom_sio *sock; |