[PATCH ipmi-fru-parser v8 11/11] Include sdbus header in frup.c

OpenBMC Patches patches at stwcx.xyz
Sun Nov 1 12:13:16 AEDT 2015


From: Hariharasubramanian R <hramasub at in.ibm.com>

---
 frup.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/frup.c b/frup.c
index 2d8cc3b..96fd2ae 100644
--- a/frup.c
+++ b/frup.c
@@ -44,6 +44,7 @@
 #include <string.h>
 #include <time.h>
 #include <ctype.h>
+#include <systemd/sd-bus.h>
 
 #define uint8_t unsigned char
 #define uint32_t unsigned int
@@ -80,13 +81,6 @@ return -1; \
 #define OPENBMC_VPD_KEY_LEN                            64
 #define OPENBMC_VPD_VAL_LEN                            512
 
-
-extern "C"
-{
-int sd_bus_message_append (void*, const char*, ...);
-typedef struct sd_bus_message sd_bus_message;
-};
-
 struct ipmi_fru_field
 {
   uint8_t type_length_field[IPMI_FRU_AREA_TYPE_LENGTH_FIELD_MAX];
-- 
2.6.0




More information about the openbmc mailing list