mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
hpmfwupg: move variable definition to .c file
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
This commit is contained in:
parent
f80effb1fc
commit
c3939dac2c
@ -800,7 +800,7 @@ typedef struct _VERSIONINFO {
|
|||||||
char descString[HPMFWUPG_DESC_STRING_LENGTH + 1];
|
char descString[HPMFWUPG_DESC_STRING_LENGTH + 1];
|
||||||
}VERSIONINFO, *PVERSIONINFO;
|
}VERSIONINFO, *PVERSIONINFO;
|
||||||
|
|
||||||
VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX];
|
extern VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX];
|
||||||
|
|
||||||
#define TARGET_VER (0x01)
|
#define TARGET_VER (0x01)
|
||||||
#define ROLLBACK_VER (0x02)
|
#define ROLLBACK_VER (0x02)
|
||||||
|
@ -50,6 +50,8 @@
|
|||||||
|
|
||||||
extern int verbose;
|
extern int verbose;
|
||||||
|
|
||||||
|
VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX];
|
||||||
|
|
||||||
int HpmfwupgUpgrade(struct ipmi_intf *intf, char *imageFilename,
|
int HpmfwupgUpgrade(struct ipmi_intf *intf, char *imageFilename,
|
||||||
int activate, int, int);
|
int activate, int, int);
|
||||||
int HpmfwupgValidateImageIntegrity(struct HpmfwupgUpgradeCtx *pFwupgCtx);
|
int HpmfwupgValidateImageIntegrity(struct HpmfwupgUpgradeCtx *pFwupgCtx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user