summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/X11/SM/SMlib.h2
-rw-r--r--src/sm_client.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/SM/SMlib.h b/include/X11/SM/SMlib.h
index 9645295..b88ddc0 100644
--- a/include/X11/SM/SMlib.h
+++ b/include/X11/SM/SMlib.h
@@ -352,7 +352,7 @@ extern SmcConn SmcOpenConnection (
int /* xsmpMinorRev */,
unsigned long /* mask */,
SmcCallbacks * /* callbacks */,
- char * /* previousId */,
+ const char * /* previousId */,
char ** /* clientIdRet */,
int /* errorLength */,
char * /* errorStringRet */
diff --git a/src/sm_client.c b/src/sm_client.c
index 3dd700e..ef1160b 100644
--- a/src/sm_client.c
+++ b/src/sm_client.c
@@ -52,7 +52,7 @@ SmcConn
SmcOpenConnection(char *networkIdsList, SmPointer context,
int xsmpMajorRev, int xsmpMinorRev,
unsigned long mask, SmcCallbacks *callbacks,
- char *previousId, char **clientIdRet,
+ const char *previousId, char **clientIdRet,
int errorLength, char *errorStringRet)
{
SmcConn smcConn;