summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/label.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2022-04-03 10:42:35 +0300
committerToomas Soome <tsoome@me.com>2022-04-19 01:58:17 +0300
commitb12aaafbf56c5a06b6cfd21655531a33e38a8ed9 (patch)
treeca10ca759be5de1857e5b2bea4c3ea821cfd1d04 /usr/src/cmd/format/label.c
parentc74f1323689f1dfea444e7fe0627eafc8c3b9076 (diff)
downloadillumos-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/label.c')
-rw-r--r--usr/src/cmd/format/label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/format/label.c b/usr/src/cmd/format/label.c
index 56a5f3d394..046c2e7713 100644
--- a/usr/src/cmd/format/label.c
+++ b/usr/src/cmd/format/label.c
@@ -173,7 +173,7 @@ trim_id(char *id)
* in this margin, then such illegal geometries can slip through the cracks.
*/
static int
-do_geometry_sanity_check()
+do_geometry_sanity_check(void)
{
struct scsi_capacity_16 capacity;
@@ -250,7 +250,7 @@ SMI_vtoc_to_EFI(int fd, struct dk_gpt **new_vtoc)
* the label and partition information it has written on the disk.
*/
int
-write_label()
+write_label(void)
{
int error = 0, head, sec;
struct dk_label label;