move QemuOpts from qemu/option.h to qemu/typedefs.h
PATCH 1/1 move QemuOpts from qemu/option.h to qemu/typedefs.h
Signed-off-by Gerd Hoffmann <[email protected]>
--- include/qemu/option.h | 2 +- include/qemu/typedefs.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
include/qemu/option.h +1 -1
@@ -28,6 +28,7 @@#include <stdint.h> #include "qemu/queue.h" +#include "qemu/typedefs.h" #include "qapi/error.h" #include "qapi/qmp/qdict.h"
@@ -45,7 +46,6 @@ bool has_help_option(const char *param);bool is_valid_option_list (const char *param);typedef struct QemuOpt QemuOpt ; -typedef struct QemuOpts QemuOpts ;typedef struct QemuOptsList QemuOptsList ;enum QemuOptType {
include/qemu/typedefs.h +1 -0
@@ -66,6 +66,7 @@ typedef struct QEMUBH QEMUBH;typedef struct QemuConsole QemuConsole ;typedef struct QEMUFile QEMUFile ;typedef struct QEMUMachine QEMUMachine ; +typedef struct QemuOpts QemuOpts ;typedef struct QEMUSGList QEMUSGList ;typedef struct QEMUSizedBuffer QEMUSizedBuffer ;typedef struct QEMUTimerListGroup QEMUTimerListGroup ;
Signature · 1 line
1.8.3.1
Quoted 5 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- include/qemu/option.h | 2 +- include/qemu/typedefs.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
I don't object necessarily, but it would be nice if the commit message said what the rationale for the change was...
thanks
-- PMM
Quoted 9 lines · Peter Maydell
Quoted 5 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- include/qemu/option.h | 2 +- include/qemu/typedefs.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)I don't object necessarily, but it would be nice if the commit message said what the rationale for the change was...
Build failure, with not-yet submitted patches,
due to QemuOpts being undeclared.
cheers,
Gerd
Quoted 8 lines · Gerd Hoffmann
Quoted 7 lines · Peter Maydell
Quoted 5 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- include/qemu/option.h | 2 +- include/qemu/typedefs.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Quoted 5 lines
Quoted 2 lines
I don't object necessarily, but it would be nice if the commit message said what the rationale for the change was...
Build failure, with not-yet submitted patches,
due to QemuOpts being undeclared.
Recommend to post it right before a patch that breaks without it, because that makes explaining why easier.