From: Daniel P. Berrange Date: Thu, 11 Aug 2016 13:25:30 +0000 (+0100) Subject: io: fix typo in docs for QIOTask X-Git-Tag: v2.9.0-rc0~138^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8c8adecada7a3e59bffcc0207327aae472ffcda;p=thirdparty%2Fqemu.git 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 --- diff --git a/include/io/task.h b/include/io/task.h index c268eb0b826..1407747c74c 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;