[libvirt] [PATCH 03/11] qemu: qapi: Fix naming of moved functions

Ján Tomko jtomko at redhat.com
Thu Mar 22 19:55:37 UTC 2018


On Thu, Mar 22, 2018 at 07:31:40PM +0100, Peter Krempa wrote:
>Change the prefix of the functions to 'virQEMUQapi' and rename the two

Please, virQEMUQAPI

>public APIs so that the verb is put last.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_capabilities.c |  4 ++--
> src/qemu/qemu_qapi.c         | 36 ++++++++++++++++++------------------
> src/qemu/qemu_qapi.h         | 10 +++++-----
> 3 files changed, 25 insertions(+), 25 deletions(-)
>

>@@ -94,11 +94,11 @@ virQEMUCapsQMPSchemaTraverse(const char *baseName,
>             continue;
>         } else if (STREQ(metatype, "object")) {
>             if (**query == '+')
>-                baseName = virQEMUCapsQMPSchemaObjectGetType("variants",
>+                baseName = virQEMUQapiSchemaObjectGetType("variants",
>                                                              *query + 1,
>                                                              "case", base);
>             else
>-                baseName = virQEMUCapsQMPSchemaObjectGetType("members",
>+                baseName = virQEMUQapiSchemaObjectGetType("members",
>                                                              *query,
>                                                              "name", base);
>

Indentation is off here.

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180322/6601d932/attachment-0001.sig>


More information about the libvir-list mailing list