summaryrefslogtreecommitdiffstats
path: root/host-ipmid/ipmid-api.h
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-25 16:10:10 -0700
committerPatrick Venture <venture@google.com>2018-10-25 16:12:57 -0700
commit2edd0e6cd964f91e278674b88bed6df1ddb49ddd (patch)
treea15539032c4a28391476d8b257054ee845d7cde4 /host-ipmid/ipmid-api.h
parent687a43697c7e20d1185a1e27e7c58cdf13ab3472 (diff)
downloadphosphor-host-ipmid-2edd0e6cd964f91e278674b88bed6df1ddb49ddd.tar.gz
phosphor-host-ipmid-2edd0e6cd964f91e278674b88bed6df1ddb49ddd.zip
host-ipmid: ipmid-api: drop extern C linking
Header not used by any C code at this point, drop extern C linking and unused headers associated with C compilation. Change-Id: Icdb1dd220d158256562a2529d9aa7b03ed1e2196 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'host-ipmid/ipmid-api.h')
-rw-r--r--host-ipmid/ipmid-api.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/host-ipmid/ipmid-api.h b/host-ipmid/ipmid-api.h
index e77e720..b9950b2 100644
--- a/host-ipmid/ipmid-api.h
+++ b/host-ipmid/ipmid-api.h
@@ -1,12 +1,7 @@
#ifndef __HOST_IPMID_IPMI_COMMON_H__
#define __HOST_IPMID_IPMI_COMMON_H__
-#include <stdbool.h>
-#include <stdlib.h>
-#include <systemd/sd-bus.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include <systemd/sd-bus.h>
/*
* Specifies the minimum privilege level required to execute the command
@@ -136,8 +131,4 @@ sd_bus* ipmid_get_sd_bus_connection(void);
sd_event* ipmid_get_sd_event_connection(void);
sd_bus_slot* ipmid_get_sd_bus_slot(void);
-#ifdef __cplusplus
-}
-#endif
-
#endif
OpenPOWER on IntegriCloud