summaryrefslogtreecommitdiff
path: root/partx/partx.c
diff options
context:
space:
mode:
Diffstat (limited to 'partx/partx.c')
-rw-r--r--partx/partx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/partx/partx.c b/partx/partx.c
index 031b285e..85590c2b 100644
--- a/partx/partx.c
+++ b/partx/partx.c
@@ -588,7 +588,7 @@ static blkid_partlist get_partlist(blkid_probe pr,
return ls;
}
-static int __attribute__((__noreturn__)) usage(FILE *out)
+static void __attribute__((__noreturn__)) usage(FILE *out)
{
int i;
@@ -622,7 +622,7 @@ static int __attribute__((__noreturn__)) usage(FILE *out)
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}
-static int __attribute__((__noreturn__))
+static void __attribute__((__noreturn__))
errx_mutually_exclusive(const char *opts)
{
errx(EXIT_FAILURE, "%s %s", opts, _("options are mutually exclusive"));