diff options
Diffstat (limited to 'fdisks/fdisk.h')
-rw-r--r-- | fdisks/fdisk.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fdisks/fdisk.h b/fdisks/fdisk.h index c97bf943..15df8e41 100644 --- a/fdisks/fdisk.h +++ b/fdisks/fdisk.h @@ -13,20 +13,9 @@ #include "blkdev.h" #include "colors.h" -extern void toggle_units(struct fdisk_context *cxt); - -static inline unsigned long -scround(struct fdisk_context *cxt, unsigned long num) -{ - unsigned long un = fdisk_context_get_units_per_sector(cxt); - return (num + un - 1) / un; -} - - extern int get_user_reply(struct fdisk_context *cxt, const char *prompt, char *buf, size_t bufsz); -extern int print_fdisk_menu(struct fdisk_context *cxt); extern int process_fdisk_menu(struct fdisk_context **cxt); extern int ask_callback(struct fdisk_context *cxt, struct fdisk_ask *ask, @@ -40,11 +29,7 @@ extern void list_partition_types(struct fdisk_context *cxt); extern void list_disk_geometry(struct fdisk_context *cxt); extern void change_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 char *partition_type(struct fdisk_context *cxt, unsigned char type); -extern int warn_geometry(struct fdisk_context *cxt); extern void toggle_dos_compatibility_flag(struct fdisk_context *cxt); -extern void warn_limits(struct fdisk_context *cxt); #endif /* UTIL_LINUX_FDISK_H */ |