diff options
author | Toomas Soome <tsoome@me.com> | 2022-04-03 10:42:35 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2022-04-19 01:58:17 +0300 |
commit | b12aaafbf56c5a06b6cfd21655531a33e38a8ed9 (patch) | |
tree | ca10ca759be5de1857e5b2bea4c3ea821cfd1d04 /usr/src/cmd/format/menu_fdisk.c | |
parent | c74f1323689f1dfea444e7fe0627eafc8c3b9076 (diff) | |
download | illumos-gate-b12aaafbf56c5a06b6cfd21655531a33e38a8ed9.tar.gz |
14613 format: cstyle cleanup
Reviewed by: C Fraire <cfraire@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/format/menu_fdisk.c')
-rw-r--r-- | usr/src/cmd/format/menu_fdisk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/cmd/format/menu_fdisk.c b/usr/src/cmd/format/menu_fdisk.c index 40e06c4711..29a86d375f 100644 --- a/usr/src/cmd/format/menu_fdisk.c +++ b/usr/src/cmd/format/menu_fdisk.c @@ -354,7 +354,7 @@ open_cur_file(int mode) * Use of this is restricted to interactive mode only. */ int -c_fdisk() +c_fdisk(void) { char buf[MAXPATHLEN]; @@ -364,7 +364,7 @@ c_fdisk() /* * We must be in interactive mode to use the fdisk command */ - if (option_f != (char *)NULL || isatty(0) != 1 || isatty(1) != 1) { + if (option_f != NULL || isatty(0) != 1 || isatty(1) != 1) { err_print("Fdisk command is for interactive use only!\n"); return (-1); } @@ -424,7 +424,7 @@ c_fdisk() */ #ifdef DEADCODE static void -update_cur_parts() +update_cur_parts(void) { int i; @@ -959,7 +959,7 @@ auto_solaris_part(struct dk_label *label) int -good_fdisk() +good_fdisk(void) { char buf[MAXPATHLEN]; struct stat statbuf; |