diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-30 19:43:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-30 19:43:42 +0000 |
commit | dc41661593ac273875b8a1ccb8d0f98a345f5f46 (patch) | |
tree | 130baf324cb88c52c2f75a9f7673a66e3f45ddc2 /sim/common/nrun.c | |
parent | f68eb6123c5acd02f317c71e5e7094be42a32247 (diff) | |
download | gdb-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.c | 2 |
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); |