summaryrefslogtreecommitdiffstats
path: root/src/pblocksize.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pblocksize.h')
-rw-r--r--src/pblocksize.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pblocksize.h b/src/pblocksize.h
index 711496e..a49a261 100644
--- a/src/pblocksize.h
+++ b/src/pblocksize.h
@@ -19,4 +19,12 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
unsigned int menu_choose_blocksize(unsigned int blocksize, const unsigned int sector_size, uint64_t *offset);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif