aboutsummaryrefslogtreecommitdiff
path: root/sim/common/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/run.c')
-rw-r--r--sim/common/run.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sim/common/run.c b/sim/common/run.c
index 3be10ab..196d532 100644
--- a/sim/common/run.c
+++ b/sim/common/run.c
@@ -85,9 +85,7 @@ cntrl_c (int sig ATTRIBUTE_UNUSED)
}
int
-main (ac, av)
- int ac;
- char **av;
+main (int ac, char **av)
{
RETSIGTYPE (*prev_sigint) ();
bfd *abfd;
@@ -357,7 +355,7 @@ usage (int help)
}
static void
-print_version ()
+print_version (void)
{
printf ("GNU simulator %s%s\n", PKGVERSION, version);
}