summaryrefslogtreecommitdiffstats
path: root/src/dirpart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirpart.h')
-rw-r--r--src/dirpart.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dirpart.h b/src/dirpart.h
index 0a77ce1..38445c6 100644
--- a/src/dirpart.h
+++ b/src/dirpart.h
@@ -19,5 +19,11 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
int dir_partition(disk_t *disk_car, const partition_t *partition, const int verbose, char **current_cmd);
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif