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