aboutsummaryrefslogtreecommitdiff
path: root/sim/common/nrun.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-30 19:43:42 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-30 19:43:42 +0000
commitdc41661593ac273875b8a1ccb8d0f98a345f5f46 (patch)
tree130baf324cb88c52c2f75a9f7673a66e3f45ddc2 /sim/common/nrun.c
parentf68eb6123c5acd02f317c71e5e7094be42a32247 (diff)
downloadgdb-dc41661593ac273875b8a1ccb8d0f98a345f5f46.zip
gdb-dc41661593ac273875b8a1ccb8d0f98a345f5f46.tar.gz
gdb-dc41661593ac273875b8a1ccb8d0f98a345f5f46.tar.bz2
sim: convert old style function definitions
GCC currently emits warnings like: nrun.c: In function 'usage': nrun.c:223: warning: old-style function definition
Diffstat (limited to 'sim/common/nrun.c')
-rw-r--r--sim/common/nrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/nrun.c b/sim/common/nrun.c
index aad1d8c..e537849 100644
--- a/sim/common/nrun.c
+++ b/sim/common/nrun.c
@@ -219,7 +219,7 @@ main (int argc, char **argv)
}
static void
-usage ()
+usage (void)
{
fprintf (stderr, "Usage: %s [options] program [program args]\n", myname);
fprintf (stderr, "Run `%s --help' for full list of options.\n", myname);