diff options
author | Karel Zak | 2013-08-30 10:46:37 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-16 16:47:08 +0200 |
commit | fcd9a2a42d7aebf0bb6e4c57d0e6666406fd0766 (patch) | |
tree | bc0824d23cf8a7874055a2bfc759e78af33d77d5 | |
parent | libfdisk: provide more details about GPT (diff) | |
download | kernel-qcow2-util-linux-fcd9a2a42d7aebf0bb6e4c57d0e6666406fd0766.tar.gz kernel-qcow2-util-linux-fcd9a2a42d7aebf0bb6e4c57d0e6666406fd0766.tar.xz kernel-qcow2-util-linux-fcd9a2a42d7aebf0bb6e4c57d0e6666406fd0766.zip |
fdisk: cleanup header file
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | fdisks/fdisk.c | 2 | ||||
-rw-r--r-- | fdisks/fdisk.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index 45df92906..a71815b04 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -44,6 +44,8 @@ # include <linux/blkpg.h> #endif +#include "fdisk.h" + static void __attribute__ ((__noreturn__)) usage(FILE *out) { fputs(USAGE_HEADER, out); diff --git a/fdisks/fdisk.h b/fdisks/fdisk.h index 05721bbd8..a416f2c25 100644 --- a/fdisks/fdisk.h +++ b/fdisks/fdisk.h @@ -1,3 +1,5 @@ +#ifndef UTIL_LINUX_FDISK_H +#define UTIL_LINUX_FDISK_H /* fdisk.h */ @@ -32,6 +34,9 @@ extern int ask_callback(struct fdisk_context *cxt, struct fdisk_ask *ask, /* prototypes for fdisk.c */ extern void list_partition_types(struct fdisk_context *cxt); +extern void list_disk_geometry(struct fdisk_context *cxt); +extern void print_raw(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); @@ -40,3 +45,4 @@ 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 */ |