summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-19 11:33:30 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-09 17:37:09 -0800
commit4af9e4a71f7c07da86ef1940cba69e92b11ba337 (patch)
tree9c067a3a197caebd4759d84edf280442b51db0bc /src
parente77dd2e4bc8227ebdab70b4233cb33ed690fa264 (diff)
SmsInitialize: Mark vendor & release args as const char *
Needed to fix gcc -Wwrite-strings arguments in callers such as xsm. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'src')
-rw-r--r--src/sm_manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sm_manager.c b/src/sm_manager.c
index d28c0c5..7a11a33 100644
--- a/src/sm_manager.c
+++ b/src/sm_manager.c
@@ -110,7 +110,8 @@ _SmsProtocolSetupProc (IceConn iceConn,
Status
-SmsInitialize(char *vendor, char *release, SmsNewClientProc newClientProc,
+SmsInitialize(const char *vendor, const char *release,
+ SmsNewClientProc newClientProc,
SmPointer managerData, IceHostBasedAuthProc hostBasedAuthProc,
int errorLength, char *errorStringRet)
{