summaryrefslogtreecommitdiffstats
path: root/src/chgtype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/chgtype.h')
-rw-r--r--src/chgtype.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/chgtype.h b/src/chgtype.h
index 85cf2bd..20f138f 100644
--- a/src/chgtype.h
+++ b/src/chgtype.h
@@ -19,7 +19,13 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
void change_geometry(disk_t *disk_car, char **current_cmd);
void change_part_type(const disk_t *disk_car,partition_t *partition, char **current_cmd);
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif