summaryrefslogtreecommitdiffstats
path: root/src/partnone.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/partnone.h')
-rw-r--r--src/partnone.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/partnone.h b/src/partnone.h
index 6ed9815..98bb303 100644
--- a/src/partnone.h
+++ b/src/partnone.h
@@ -1,2 +1,10 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
unsigned int get_part_type_none(const partition_t *partition);
const char *get_partition_typename_none(const partition_t *partition);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif