don't declare usage() without parametr
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
665c289a06
commit
bcf006d71f
|
@ -82,7 +82,7 @@ int nobanner;
|
||||||
int mbufsize;
|
int mbufsize;
|
||||||
char *mbuf;
|
char *mbuf;
|
||||||
|
|
||||||
static void __attribute__((__noreturn__)) usage()
|
static void __attribute__((__noreturn__)) usage(void)
|
||||||
{
|
{
|
||||||
errx(EXIT_FAILURE, _("usage: %s [-n] [file]\n"),
|
errx(EXIT_FAILURE, _("usage: %s [-n] [file]\n"),
|
||||||
program_invocation_short_name);
|
program_invocation_short_name);
|
||||||
|
|
|
@ -112,7 +112,7 @@ int pass_unknown_seqs; /* whether to pass unknown control sequences */
|
||||||
if (putwchar(ch) == WEOF) \
|
if (putwchar(ch) == WEOF) \
|
||||||
wrerr();
|
wrerr();
|
||||||
|
|
||||||
static void __attribute__((__noreturn__)) usage()
|
static void __attribute__((__noreturn__)) usage(void)
|
||||||
{
|
{
|
||||||
errx(EXIT_FAILURE, _("usage: %s [-bfpx] [-l nline]"),
|
errx(EXIT_FAILURE, _("usage: %s [-bfpx] [-l nline]"),
|
||||||
program_invocation_short_name);
|
program_invocation_short_name);
|
||||||
|
|
|
@ -125,7 +125,7 @@ newsyntax(int argc, char ***argvp)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
usage()
|
usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
_("hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]\n"));
|
_("hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]\n"));
|
||||||
|
|
Loading…
Reference in New Issue