Commit 7534ba01 authored by Michael Roth's avatar Michael Roth Committed by Anthony Liguori
Browse files

qapi: fix build issue due to missing newline in generated header



Fixes a build issue on RHEL5, and potentially other distros, where gcc
will generate an error due to us not writing a trailing "\n" when
generating *qmp-commands.h

Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent 7075ba30
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -375,7 +375,7 @@ if dispatch_type == "sync":
        ret = gen_marshal_input(cmd['command'], arglist, ret_type) + "\n"
        fdef.write(ret)

    fdecl.write("\n#endif");
    fdecl.write("\n#endif\n");
    ret = gen_registry(commands)
    fdef.write(ret)