diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-09 00:06:01 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-09 00:06:01 -0700 |
commit | 759bbd43f0fdc9a96ba1676d7830164bc9954be2 (patch) | |
tree | 99f94dc4abfe42247d0ff1de47282148a41b79ac /include/X11/SM | |
parent | 77ddd273239a629eeed7bd1d5b4509b1bd6d4e37 (diff) |
Constify previous_id argument to SmcOpenConnection
Clears gcc warning of:
sm_client.c: In function 'SmcOpenConnection':
sm_client.c:199:13: warning: assignment discards 'const' qualifier from
pointer target type [enabled by default]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include/X11/SM')
-rw-r--r-- | include/X11/SM/SMlib.h | 2 |
1 files changed, 1 insertions, 1 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 */ |