From: Kevin O'Connor Date: Fri, 5 Aug 2016 17:44:12 +0000 (-0400) Subject: version: Update header files now that version.c is not auto generated X-Git-Tag: rel-1.10.0~30 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8cdf0c5ab96282d821a024a8a382cb93432219fe;p=seabios.git version: Update header files now that version.c is not auto generated Signed-off-by: Kevin O'Connor --- diff --git a/src/util.h b/src/util.h index 7bfd2b8..557eb8b 100644 --- a/src/util.h +++ b/src/util.h @@ -232,13 +232,12 @@ void code_mutable_preinit(void); void serial_setup(void); void lpt_setup(void); +// version.c +extern const char VERSION[], BUILDINFO[]; + // vgahooks.c void handle_155f(struct bregs *regs); void handle_157f(struct bregs *regs); void vgahook_setup(struct pci_device *pci); - -// version (auto generated file out/version.c) -extern const char VERSION[], BUILDINFO[]; - #endif // util.h diff --git a/vgasrc/vgainit.c b/vgasrc/vgainit.c index 4050c96..c6c8149 100644 --- a/vgasrc/vgainit.c +++ b/vgasrc/vgainit.c @@ -14,7 +14,6 @@ #include "std/optionrom.h" // struct pci_data #include "std/pmm.h" // struct pmmheader #include "string.h" // checksum_far -#include "util.h" // VERSION #include "vgabios.h" // SET_VGA #include "vgahw.h" // vgahw_setup #include "vgautil.h" // swcursor_check_event diff --git a/vgasrc/vgautil.h b/vgasrc/vgautil.h index 79c16be..08c4e8d 100644 --- a/vgasrc/vgautil.h +++ b/vgasrc/vgautil.h @@ -87,4 +87,7 @@ extern u8 vgafont16alt[]; extern int VgaBDF; extern int HaveRunInit; +// vgaversion.c +extern const char VERSION[], BUILDINFO[]; + #endif // vgautil.h