aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/pixmap.c2
-rw-r--r--src/lib/sockio-c.c4
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;