summaryrefslogtreecommitdiff
path: root/nqdasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'nqdasm.c')
-rw-r--r--nqdasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nqdasm.c b/nqdasm.c
index bb26d81..04b460c 100644
--- a/nqdasm.c
+++ b/nqdasm.c
@@ -139,7 +139,7 @@ static void disassemble(FILE *in, FILE *out)
}
}
-static void usage(const char *progname)
+static void usage(void)
{
printf("usage: %s [-o output] [input]\n", progname);
printf(" %s -h\n", progname);
@@ -161,7 +161,7 @@ int main(int argc, char **argv)
for (int opt; (opt = getopt(argc, argv, "+ho:")) != -1;) {
switch (opt) {
case 'h':
- usage(argv[0]);
+ usage();
return 0;
case 'o':
outname = optarg;