summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFab <netbox253@free.fr>2017-10-07 14:23:52 +0000
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-03-23 22:58:57 -0700
commit75ffafb4e04661fb890a9e8088b743cb077050a6 (patch)
tree3a082526ad6048988cbd6e4a94473489b872bb60
parentb347e9f8ef3ae027c049741ab5c0c8dac45c9eb2 (diff)
Fix callbacks signatures in libSM documentation
https://bugs.freedesktop.org/show_bug.cgi?id=103135 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--doc/SMlib.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/SMlib.xml b/doc/SMlib.xml
index 43579f9..eb97eff 100644
--- a/doc/SMlib.xml
+++ b/doc/SMlib.xml
@@ -494,7 +494,7 @@ The Save Yourself callback is of type <function>SmcSaveYourselfProc</function>
<funcprototype>
<funcdef>typedef void (*<function>SaveYourselfProc</function>)</funcdef>
<paramdef>SmcConn <parameter>smc_conn</parameter></paramdef>
- <paramdef>SmcConn <parameter>client_data</parameter></paramdef>
+ <paramdef>SmPointer <parameter>client_data</parameter></paramdef>
<paramdef>int <parameter>save_type</parameter></paramdef>
<paramdef>Bool <parameter>shutdown</parameter></paramdef>
<paramdef>int <parameter>interact_style</parameter></paramdef>
@@ -629,7 +629,7 @@ The Die callback is of type <xref linkend='SmcDieProc' xrefstyle='select: title'
<funcprototype>
<funcdef>typedef void (*<function>SmcDieProc</function>)</funcdef>
<paramdef>SmcConn <parameter>smc_conn</parameter></paramdef>
- <paramdef>SmcConn <parameter>client_data</parameter></paramdef>
+ <paramdef>SmPointer <parameter>client_data</parameter></paramdef>
</funcprototype>
</funcsynopsis>