From e125fb2cf60581e98bc6e7a65a818533fe1917c4 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sun, 19 Aug 2012 01:25:10 +0000 Subject: * 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*. --- src/include/pixmap.h | 2 +- src/include/sockio.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/pixmap.h b/src/include/pixmap.h index a181b979..2d9b0272 100644 --- a/src/include/pixmap.h +++ b/src/include/pixmap.h @@ -37,7 +37,7 @@ #define OPENAXIOM_PIXMAP_included extern int file_exists(char * ); -extern FILE * zzopen(char * , char * ); +extern FILE * zzopen(char * , const char* ); extern void write_pixmap_file(Display * , int , char * , Window , int , int , int , int ); extern int read_pixmap_file(Display * , int , char * , XImage * * , int * , int * ); diff --git a/src/include/sockio.h b/src/include/sockio.h index 031809f2..a62bda86 100644 --- a/src/include/sockio.h +++ b/src/include/sockio.h @@ -121,7 +121,7 @@ OPENAXIOM_C_EXPORT int wait_for_client_write(openaxiom_sio*, OPENAXIOM_C_EXPORT int make_server_name(char*, const char*); OPENAXIOM_C_EXPORT int make_server_number(void); -OPENAXIOM_C_EXPORT openaxiom_sio* connect_to_local_server(char*, int, int); +OPENAXIOM_C_EXPORT openaxiom_sio* connect_to_local_server(const char*, int, int); OPENAXIOM_C_EXPORT int open_server(const char*); OPENAXIOM_C_EXPORT int accept_connection(openaxiom_sio*); OPENAXIOM_C_EXPORT int sselect(int, fd_set*, fd_set*, fd_set*, void*); -- cgit v1.2.3