path: root/misc-utils/docfdisk.c
diff options
authorDavid Oberhollenzer <>2017-06-22 13:37:40 +0200
committerDavid Oberhollenzer <>2017-06-28 10:27:31 +0200
commitca517e8b320c7a31c3a147fb1212ddb33cabd919 (patch)
treea26d535836a82ea241dc0389b061176ddfcd8329 /misc-utils/docfdisk.c
parent3029b659e89caa79b6860c3bbe8cbc18b53af678 (diff)
Eliminate warnings about missing prototypes
This patch eliminates warnings generated by the -Wmissing-prototypes option. With this flag set, we are now forced to have prototypes for all global, exported functions, that have to be made visible to the definitions and we are forced to mark all local functions as static. Signed-off-by: David Oberhollenzer <>
Diffstat (limited to 'misc-utils/docfdisk.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/docfdisk.c b/misc-utils/docfdisk.c
index b363662..c2b9150 100644
--- a/misc-utils/docfdisk.c
+++ b/misc-utils/docfdisk.c
@@ -44,7 +44,7 @@ struct INFTLMediaHeader *mh;
#define MAXSCAN 10
-void show_header(int mhoffs) {
+static void show_header(int mhoffs) {
int i, unitsize, numunits, bmbits, numpart;
int start, end, num, nextunit;
unsigned int flags;