aboutsummaryrefslogtreecommitdiff
path: root/sim/common/gentmap.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-16 02:13:31 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-16 03:01:09 -0400
commit6cd5ace4db98987881c71e33dcae418fd258c38d (patch)
treebb1af8e4fd6e43f7646763c696103f8bd9f8e7cd /sim/common/gentmap.c
parentae7d0cac8ce971f7108d270c1d3f8481919b1e86 (diff)
downloadgdb-6cd5ace4db98987881c71e33dcae418fd258c38d.zip
gdb-6cd5ace4db98987881c71e33dcae418fd258c38d.tar.gz
gdb-6cd5ace4db98987881c71e33dcae418fd258c38d.tar.bz2
sim: convert some old prototypes
Diffstat (limited to 'sim/common/gentmap.c')
-rw-r--r--sim/common/gentmap.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sim/common/gentmap.c b/sim/common/gentmap.c
index 1769c53..fbc09a2 100644
--- a/sim/common/gentmap.c
+++ b/sim/common/gentmap.c
@@ -31,7 +31,7 @@ static struct tdefs open_tdefs[] = {
};
static void
-gen_targ_vals_h ()
+gen_targ_vals_h (void)
{
struct tdefs *t;
@@ -60,7 +60,7 @@ gen_targ_vals_h ()
}
static void
-gen_targ_map_c ()
+gen_targ_map_c (void)
{
struct tdefs *t;
@@ -110,9 +110,7 @@ gen_targ_map_c ()
}
int
-main (argc, argv)
- int argc;
- char *argv[];
+main (int argc, char *argv[])
{
if (argc != 2)
abort ();