summaryrefslogtreecommitdiffstats
path: root/fdisks/fdisk.h
diff options
context:
space:
mode:
authorKarel Zak2013-06-12 17:09:28 +0200
committerKarel Zak2013-09-16 16:47:01 +0200
commit950edd1a71d76a9fe6bbc72bba4efcb26cf723b7 (patch)
treef72bd7be52313595da83c20080306be4bfe5eca9 /fdisks/fdisk.h
parentfdisk: (bsd) use libfdisk for partition number dialog (diff)
downloadkernel-qcow2-util-linux-950edd1a71d76a9fe6bbc72bba4efcb26cf723b7.tar.gz
kernel-qcow2-util-linux-950edd1a71d76a9fe6bbc72bba4efcb26cf723b7.tar.xz
kernel-qcow2-util-linux-950edd1a71d76a9fe6bbc72bba4efcb26cf723b7.zip
fdisk: use libfdisk to ask for partition type
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk.h')
-rw-r--r--fdisks/fdisk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fdisks/fdisk.h b/fdisks/fdisk.h
index 32d6a2afb..1d15c8213 100644
--- a/fdisks/fdisk.h
+++ b/fdisks/fdisk.h
@@ -74,7 +74,8 @@ extern char *line_ptr;
extern void list_partition_types(struct fdisk_context *cxt);
extern int read_line(struct fdisk_context *cxt, int *asked);
extern char read_char(struct fdisk_context *cxt, char *mesg);
-extern struct fdisk_parttype *read_partition_type(struct fdisk_context *cxt);
+
+extern struct fdisk_parttype *ask_partition_type(struct fdisk_context *cxt);
extern void reread_partition_table(struct fdisk_context *cxt, int leave);
extern struct partition *get_part_table(int);
extern unsigned int read_int(struct fdisk_context *cxt,