diff options
author | Karel Zak | 2013-06-12 17:10:42 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-16 16:47:01 +0200 |
commit | afb7c835205985dd079b235d90ed6484944f4433 (patch) | |
tree | 03d5c4142139c3031ced95ca0734ad87200d853c /fdisks/fdisk.h | |
parent | fdisk: use libfdisk to ask for partition type (diff) | |
download | kernel-qcow2-util-linux-afb7c835205985dd079b235d90ed6484944f4433.tar.gz kernel-qcow2-util-linux-afb7c835205985dd079b235d90ed6484944f4433.tar.xz kernel-qcow2-util-linux-afb7c835205985dd079b235d90ed6484944f4433.zip |
fdisk: remove old code to ask user
Old code has been broken by design:
* use global variables
* fixed buffer size
* useless within libfdisk
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk.h')
-rw-r--r-- | fdisks/fdisk.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fdisks/fdisk.h b/fdisks/fdisk.h index 1d15c8213..7ecfa2569 100644 --- a/fdisks/fdisk.h +++ b/fdisks/fdisk.h @@ -69,12 +69,7 @@ extern int ask_callback(struct fdisk_context *cxt, struct fdisk_ask *ask, void *data __attribute__((__unused__))); /* prototypes for fdisk.c */ -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 *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); |