aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/sample2.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-01 02:21:21 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-01 02:22:58 -0400
commit269e9c185f67d477a99574f53ead904d50fddfda (patch)
tree0177a3d3718cc79c55ae0ff07d9d4d974397800d /sim/m32c/sample2.c
parent0fe84f3fbe9a740c38a8dbaa0150b8e4c25c69dd (diff)
downloadgdb-269e9c185f67d477a99574f53ead904d50fddfda.zip
gdb-269e9c185f67d477a99574f53ead904d50fddfda.tar.gz
gdb-269e9c185f67d477a99574f53ead904d50fddfda.tar.bz2
sim: m32c: enable warnings & clean up a bunch
This doesn't clean up all the warnings, just most of them. The ones that are left will require some care to unravel.
Diffstat (limited to 'sim/m32c/sample2.c')
-rw-r--r--sim/m32c/sample2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/m32c/sample2.c b/sim/m32c/sample2.c
index f6aec0e..776989c 100644
--- a/sim/m32c/sample2.c
+++ b/sim/m32c/sample2.c
@@ -21,7 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* See the 'sample2.x' target in Makefile.in. */
void exit (int);
-start ()
+void
+start (void)
{
foo (1, 2, 3, 4);
exit (5);