[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v1 3/8] io: fix typo in docs for QIOTask
From: |
Daniel P. Berrange |
Subject: |
[Qemu-devel] [PULL v1 3/8] io: fix typo in docs for QIOTask |
Date: |
Mon, 23 Jan 2017 14:26:24 +0000 |
The GDestroyNotify parameter is already a pointer, so does
not need a '*' suffix on the type.
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
---
include/io/task.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/io/task.h b/include/io/task.h
index c268eb0..1407747 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;
--
2.9.3
- [Qemu-devel] [PULL v1 0/8] Merge io/ 2017-01-23, Daniel P. Berrange, 2017/01/23
- [Qemu-devel] [PULL v1 1/8] sockets: add ability to disable DNS resolution for InetSocketAddress, Daniel P. Berrange, 2017/01/23
- [Qemu-devel] [PULL v1 2/8] io: stop incrementing reference in qio_task_get_source, Daniel P. Berrange, 2017/01/23
- [Qemu-devel] [PULL v1 4/8] io: add ability to associate an opaque "result" with with a task, Daniel P. Berrange, 2017/01/23
- [Qemu-devel] [PULL v1 3/8] io: fix typo in docs for QIOTask,
Daniel P. Berrange <=
- [Qemu-devel] [PULL v1 5/8] io: add ability to associate an error with a task, Daniel P. Berrange, 2017/01/23
- [Qemu-devel] [PULL v1 7/8] io: remove Error parameter from QIOTask thread worker, Daniel P. Berrange, 2017/01/23
- [Qemu-devel] [PULL v1 6/8] io: change the QIOTask callback signature, Daniel P. Berrange, 2017/01/23
- [Qemu-devel] [PULL v1 8/8] io: introduce a DNS resolver API, Daniel P. Berrange, 2017/01/23
- Re: [Qemu-devel] [PULL v1 0/8] Merge io/ 2017-01-23, no-reply, 2017/01/23
- Re: [Qemu-devel] [PULL v1 0/8] Merge io/ 2017-01-23, Peter Maydell, 2017/01/23