diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c --- a/sbin/fdisk/fdisk.c +++ b/sbin/fdisk/fdisk.c @@ -449,7 +449,7 @@ } static void -usage() +usage(void) { fprintf(stderr, "%s%s", "usage: fdisk [-BIaipqstu] [-b bootcode] [-1234] [disk]\n", @@ -610,7 +610,7 @@ } static void -print_params() +print_params(void) { printf("parameters extracted from in-core disklabel are:\n"); printf("cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n" @@ -661,14 +661,14 @@ } static void -change_code() +change_code(void) { if (ok("Do you want to change the boot code?")) init_boot(); } void -get_params_to_use() +get_params_to_use(void) { int tmp; print_params(); @@ -807,7 +807,7 @@ } static int -get_params() +get_params(void) { int error; u_int u; @@ -845,7 +845,7 @@ } static int -read_s0() +read_s0(void) { int i; @@ -874,7 +874,7 @@ } static int -write_s0() +write_s0(void) { int sector, i;