diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-08-11 14:25:30 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2017-01-23 15:32:18 +0000 |
commit | e8c8adecada7a3e59bffcc0207327aae472ffcda (patch) | |
tree | 5c7437b8a678a35083a54385ab02f6c920f5bdfd /include | |
parent | 937470bb5470825e781ae50e92ff973a6b54d80f (diff) |
io: fix typo in docs for QIOTask
The GDestroyNotify parameter is already a pointer, so does
not need a '*' suffix on the type.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/io/task.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/io/task.h b/include/io/task.h index c268eb0b82..1407747c74 100644 --- a/include/io/task.h +++ b/include/io/task.h @@ -49,7 +49,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task, * void myobject_operation(QMyObject *obj, * QIOTaskFunc *func, * gpointer opaque, - * GDestroyNotify *notify); + * GDestroyNotify notify); * </programlisting> * </example> * @@ -67,7 +67,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task, * void myobject_operation(QMyObject *obj, * QIOTaskFunc *func, * gpointer opaque, - * GDestroyNotify *notify) + * GDestroyNotify notify) * { * QIOTask *task; * @@ -154,7 +154,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task, * SocketAddress *addr, * QIOTaskFunc *func, * gpointer opaque, - * GDestroyNotify *notify) + * GDestroyNotify notify) * { * QIOTask *task; * SocketAddress *addrCopy; |