summaryrefslogtreecommitdiffstats
path: root/src/partauto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/partauto.h')
-rw-r--r--src/partauto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/partauto.h b/src/partauto.h
index be681aa..e5b317a 100644
--- a/src/partauto.h
+++ b/src/partauto.h
@@ -19,6 +19,12 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
void autodetect_arch(disk_t *disk);
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif