Skip to contentSkip to conversation

fix include file in hw/loader.h

PATCH In review Wenchao Xia 1 participant 2 messages Dec 26, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix include file in hw/loader.h

Now header files have gone into includes, so include file path
needs change also to avoid build break.

---
 hw/loader.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
hw/loader.h +2 -1
index 26480ad..5e61c95 100644
@@ -1,5 +1,6 @@
 #ifndef LOADER_H
 #define LOADER_H
+#include "qapi/qmp/qdict.h"
 
 /* loader.c */
 int get_image_size(const char *filename);
@@ -30,7 +31,7 @@ int rom_load_all(void);
 void rom_set_fw(void *f);
 int rom_copy(uint8_t *dest, hwaddr addr, size_t size);
 void *rom_ptr(hwaddr addr);
-void do_info_roms(Monitor *mon);
+void do_info_roms(Monitor *mon, const QDict *qdict);
 
 #define rom_add_file_fixed(_f, _a, _i)          \
     rom_add_file(_f, NULL, _a, _i)
Signature · 1 line
1.7.1
#1 lore raw

please ignore this mail, sorry for trouble.

Quoted 29 lines

Now header files have gone into includes, so include file path
needs change also to avoid build break.

---
  hw/loader.h |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)
hw/loader.h +2 -1
index 26480ad..5e61c95 100644
@@ -1,5 +1,6 @@
  #ifndef LOADER_H
  #define LOADER_H
+#include "qapi/qmp/qdict.h"
 
  /* loader.c */
  int get_image_size(const char *filename);
@@ -30,7 +31,7 @@ int rom_load_all(void);
  void rom_set_fw(void *f);
  int rom_copy(uint8_t *dest, hwaddr addr, size_t size);
  void *rom_ptr(hwaddr addr);
-void do_info_roms(Monitor *mon);
+void do_info_roms(Monitor *mon, const QDict *qdict);
 
  #define rom_add_file_fixed(_f, _a, _i)          \
      rom_add_file(_f, NULL, _a, _i)
Signature · 3 lines
Best Regards

Wenchao Xia