[PATCH phosphor-host-ipmid] Externing api for others

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Nov 24 12:20:24 AEDT 2015


From: Chris Austen <austenc at us.ibm.com>

---
 ipmid-api.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipmid-api.h b/ipmid-api.h
index 34d3bbe..5da7636 100644
--- a/ipmid-api.h
+++ b/ipmid-api.h
@@ -94,5 +94,5 @@ enum ipmi_return_codes
     IPMI_CC_UNSPECIFIED_ERROR = 0xFF,
 };
 
-sd_bus *ipmid_get_sd_bus_connection(void);
+extern "C" sd_bus *ipmid_get_sd_bus_connection(void);
 #endif
-- 
2.6.3




More information about the openbmc mailing list