summaryrefslogtreecommitdiffstats
path: root/src/tmbrcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tmbrcode.h')
-rw-r--r--src/tmbrcode.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tmbrcode.h b/src/tmbrcode.h
index 21af6ba..bed35ae 100644
--- a/src/tmbrcode.h
+++ b/src/tmbrcode.h
@@ -1,2 +1,9 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int write_MBR_code(disk_t *disk_car);
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif