From e8c8adecada7a3e59bffcc0207327aae472ffcda Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 11 Aug 2016 14:25:30 +0100 Subject: 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 Signed-off-by: Daniel P. Berrange --- include/io/task.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/io') 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); * * * @@ -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; -- cgit v1.2.3