summaryrefslogtreecommitdiff
path: root/src/power_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/power_commands.h')
-rw-r--r--src/power_commands.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/power_commands.h b/src/power_commands.h
index d6b6bf2..da5d979 100644
--- a/src/power_commands.h
+++ b/src/power_commands.h
@@ -2,8 +2,18 @@
#define POWER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int com_power( char *arg );
int com_power_policy( char* arg );
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif // POWER_H