diff options
author | Karel Zak <kzak@redhat.com> | 2010-12-10 16:47:18 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2010-12-10 16:47:18 +0100 |
commit | abafd68667a965c033c5cef0646482433f6994b5 (patch) | |
tree | 7be1e393db96bf3e740d161ebae39de844ad3ae4 /misc-utils/lsblk.c | |
parent | 39941b4e38e47fc4ae8f149c60ac2fc4145fb852 (diff) | |
download | util-linux-old-abafd68667a965c033c5cef0646482433f6994b5.tar.gz |
fix __noreturn__ usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.c')
-rw-r--r-- | misc-utils/lsblk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 745a3e61..cdfce42f 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -841,7 +841,7 @@ static void parse_excludes(const char *str) } } -static int __attribute__((__noreturn__)) help(FILE *out) +static void __attribute__((__noreturn__)) help(FILE *out) { int i; @@ -874,7 +874,7 @@ static int __attribute__((__noreturn__)) help(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")); |