From: Karel Zak Date: Fri, 30 Aug 2013 08:46:37 +0000 (+0200) Subject: fdisk: cleanup header file X-Git-Tag: v2.24-rc1~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fcd9a2a42d7aebf0bb6e4c57d0e6666406fd0766;p=thirdparty%2Futil-linux.git fdisk: cleanup header file Signed-off-by: Karel Zak --- diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index 45df92906d..a71815b04b 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -44,6 +44,8 @@ # include #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 05721bbd84..a416f2c253 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 */