summaryrefslogtreecommitdiffstats
path: root/fdisks/fdisk.h
diff options
context:
space:
mode:
authorKarel Zak2013-08-30 10:46:37 +0200
committerKarel Zak2013-09-16 16:47:08 +0200
commitfcd9a2a42d7aebf0bb6e4c57d0e6666406fd0766 (patch)
treebc0824d23cf8a7874055a2bfc759e78af33d77d5 /fdisks/fdisk.h
parentlibfdisk: provide more details about GPT (diff)
downloadkernel-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>
Diffstat (limited to 'fdisks/fdisk.h')
-rw-r--r--fdisks/fdisk.h6
1 files changed, 6 insertions, 0 deletions
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 */