summaryrefslogtreecommitdiffstats
path: root/src/pfree_whole.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-01-14 22:13:47 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-01-14 22:13:47 +0100
commit1650fe5b8b6cea638c280df13605aea816718a00 (patch)
treefed11bd9361236aba47157d859607c109db05814 /src/pfree_whole.h
parent56e1c29b2c0614b0b3230946d72e1eaf37618bcc (diff)
Split ncurses text interface from functions
Diffstat (limited to 'src/pfree_whole.h')
-rw-r--r--src/pfree_whole.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pfree_whole.h b/src/pfree_whole.h
index fba16c9..2422b9d 100644
--- a/src/pfree_whole.h
+++ b/src/pfree_whole.h
@@ -19,6 +19,12 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifdef HAVE_NCURSES
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int ask_mode_ext2(const disk_t *disk_car, const partition_t *partition, unsigned int *mode_ext2, unsigned int *carve_free_space_only);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
#endif