diff options
author | Karel Zak | 2011-01-21 01:00:18 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-21 01:00:18 +0100 |
commit | bcf006d71f24100b9124ee58a8cfd93097426ad4 (patch) | |
tree | 23d5c1abb244b7b0b1a5e0967b1a5abec7460fb1 /text-utils | |
parent | use uint32_t instead of u_int32_t (diff) | |
download | kernel-qcow2-util-linux-bcf006d71f24100b9124ee58a8cfd93097426ad4.tar.gz kernel-qcow2-util-linux-bcf006d71f24100b9124ee58a8cfd93097426ad4.tar.xz kernel-qcow2-util-linux-bcf006d71f24100b9124ee58a8cfd93097426ad4.zip |
don't declare usage() without parametr
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils')
-rw-r--r-- | text-utils/col.c | 2 | ||||
-rw-r--r-- | text-utils/hexsyntax.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/text-utils/col.c b/text-utils/col.c index 9349720cb..c31a32afb 100644 --- a/text-utils/col.c +++ b/text-utils/col.c @@ -112,7 +112,7 @@ int pass_unknown_seqs; /* whether to pass unknown control sequences */ if (putwchar(ch) == WEOF) \ wrerr(); -static void __attribute__((__noreturn__)) usage() +static void __attribute__((__noreturn__)) usage(void) { errx(EXIT_FAILURE, _("usage: %s [-bfpx] [-l nline]"), program_invocation_short_name); diff --git a/text-utils/hexsyntax.c b/text-utils/hexsyntax.c index f05043c72..8fdde1922 100644 --- a/text-utils/hexsyntax.c +++ b/text-utils/hexsyntax.c @@ -125,7 +125,7 @@ newsyntax(int argc, char ***argvp) } void -usage() +usage(void) { fprintf(stderr, _("hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]\n")); |