[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] qapi: fix build issue due to missing newline in gen
From: |
Michael Roth |
Subject: |
[Qemu-devel] [PATCH] qapi: fix build issue due to missing newline in generated header |
Date: |
Thu, 11 Aug 2011 15:37:41 -0500 |
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: Michael Roth <address@hidden>
---
scripts/qapi-commands.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py
index 9ad4c54..bf61740 100644
--- a/scripts/qapi-commands.py
+++ b/scripts/qapi-commands.py
@@ -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)
--
1.7.0.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] qapi: fix build issue due to missing newline in generated header,
Michael Roth <=