diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-19 11:33:30 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-09 17:37:09 -0800 |
commit | 4af9e4a71f7c07da86ef1940cba69e92b11ba337 (patch) | |
tree | 9c067a3a197caebd4759d84edf280442b51db0bc /doc | |
parent | e77dd2e4bc8227ebdab70b4233cb33ed690fa264 (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 'doc')
-rw-r--r-- | doc/SMlib.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/SMlib.xml b/doc/SMlib.xml index 7577492..6d2a234 100644 --- a/doc/SMlib.xml +++ b/doc/SMlib.xml @@ -1500,8 +1500,8 @@ time a new client connects to the session manager. <funcsynopsis id='SmsInitialize'> <funcprototype> <funcdef>Status <function>SmsInitialize</function></funcdef> - <paramdef>char *<parameter>vendor</parameter></paramdef> - <paramdef>char *<parameter>release</parameter></paramdef> + <paramdef>const char *<parameter>vendor</parameter></paramdef> + <paramdef>const char *<parameter>release</parameter></paramdef> <paramdef>SmsNewClientProc <parameter>new_client_proc</parameter></paramdef> <paramdef>SmPointer <parameter>manager_data</parameter></paramdef> <paramdef>IceHostBasedAuthProc <parameter>host_based_auth_proc</parameter></paramdef> |