summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/label.c
diff options
context:
space:
mode:
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;