diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-09-10 15:44:31 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-09-10 15:44:31 +0200 |
commit | 36a24e9032591da8cc7688f69e7e9f5f41ffe4ab (patch) | |
tree | eec9b06cd7f4498ef4db3e2f7973e08904981c48 /include/ipmitool/ipmi_hpmfwupg.h | |
parent | dce3efdab4ea7314a3e1db3af2cb0aac3f48dcef (diff) |
New upstream release
Diffstat (limited to 'include/ipmitool/ipmi_hpmfwupg.h')
-rw-r--r-- | include/ipmitool/ipmi_hpmfwupg.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/ipmitool/ipmi_hpmfwupg.h b/include/ipmitool/ipmi_hpmfwupg.h index de65292..a994b9f 100644 --- a/include/ipmitool/ipmi_hpmfwupg.h +++ b/include/ipmitool/ipmi_hpmfwupg.h @@ -30,9 +30,22 @@ * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ + #ifndef IPMI_HPMFWUPG_H #define IPMI_HPMFWUPG_H + +#ifdef IPMI_HPMFWUPG_MOD + + #define EXTERN + +#else + + #define EXTERN extern + +#endif + + #include <inttypes.h> #include <ipmitool/ipmi.h> @@ -800,10 +813,12 @@ typedef struct _VERSIONINFO { char descString[HPMFWUPG_DESC_STRING_LENGTH + 1]; }VERSIONINFO, *PVERSIONINFO; -VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX]; +EXTERN VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX]; #define TARGET_VER (0x01) #define ROLLBACK_VER (0x02) #define IMAGE_VER (0x04) #endif /* IPMI_KFWUM_H */ + +#undef EXTERN |