summaryrefslogtreecommitdiffstats
path: root/disk-utils/fdisk.h
diff options
context:
space:
mode:
authorKarel Zak2014-09-04 12:07:44 +0200
committerKarel Zak2014-10-07 14:55:30 +0200
commitfdb006e8b5f525ebab5a0766c9005402eee194e2 (patch)
tree36761b71eb2ea48a82c7b475573c9c8a72c3da15 /disk-utils/fdisk.h
parentsfdisk: basic main() and friends (diff)
downloadkernel-qcow2-util-linux-fdb006e8b5f525ebab5a0766c9005402eee194e2.tar.gz
kernel-qcow2-util-linux-fdb006e8b5f525ebab5a0766c9005402eee194e2.tar.xz
kernel-qcow2-util-linux-fdb006e8b5f525ebab5a0766c9005402eee194e2.zip
fdisk: move --list functionality to separated file
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/fdisk.h')
-rw-r--r--disk-utils/fdisk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/fdisk.h b/disk-utils/fdisk.h
index 1a3e3d2de..4bd47339a 100644
--- a/disk-utils/fdisk.h
+++ b/disk-utils/fdisk.h
@@ -16,6 +16,8 @@
#include "debug.h"
#include "nls.h"
+#include "fdisk-list.h"
+
#define FDISKPROG_DEBUG_INIT (1 << 1)
#define FDISKPROG_DEBUG_MENU (1 << 3)
#define FDISKPROG_DEBUG_MISC (1 << 4)
@@ -39,8 +41,6 @@ extern void dump_firstsector(struct fdisk_context *cxt);
extern void dump_disklabel(struct fdisk_context *cxt);
extern void list_partition_types(struct fdisk_context *cxt);
-extern void list_disk_geometry(struct fdisk_context *cxt);
-extern void list_disklabel(struct fdisk_context *cxt);
extern void change_partition_type(struct fdisk_context *cxt);
extern struct fdisk_parttype *ask_partition_type(struct fdisk_context *cxt);