]> git.zerfleddert.de Git - micropolis/commit - src/sim/w_tool.c
Enable warnings and fix them, all of them
authorMichael Gernoth <michael@gernoth.net>
Mon, 7 Sep 2009 20:24:48 +0000 (22:24 +0200)
committerMichael Gernoth <michael@gernoth.net>
Mon, 7 Sep 2009 20:24:48 +0000 (22:24 +0200)
commit6f214ac0ef5899987197c2e4c9baa0b51a04c197
tree481100bd2c3de72c8e95d74e7eef03c6908a98f7
parent8dc79b2cdfc3d2250707e65d2c355033203b8712
Enable warnings and fix them, all of them

This involved adding prototypes for most functions and fixing
all errors revealed by this. The outcome should be a much more
stable Micropolis, as now all functions are called with their
defined arguments and also have a defined return value.
This should fix debian bug #522529 in a different way than the
patch in the bug description
41 files changed:
src/sim/g_ani.c
src/sim/g_bigmap.c
src/sim/g_map.c
src/sim/g_setup.c
src/sim/g_smmaps.c
src/sim/headers/sim.h
src/sim/makefile
src/sim/rand.c
src/sim/s_alloc.c
src/sim/s_disast.c
src/sim/s_eval.c
src/sim/s_fileio.c
src/sim/s_gen.c
src/sim/s_init.c
src/sim/s_msg.c
src/sim/s_power.c
src/sim/s_scan.c
src/sim/s_sim.c
src/sim/s_traf.c
src/sim/s_zone.c
src/sim/sim.c
src/sim/w_budget.c
src/sim/w_con.c
src/sim/w_date.c
src/sim/w_editor.c
src/sim/w_eval.c
src/sim/w_graph.c
src/sim/w_inter.c
src/sim/w_keys.c
src/sim/w_map.c
src/sim/w_piem.c
src/sim/w_resrc.c
src/sim/w_sim.c
src/sim/w_sound.c
src/sim/w_sprite.c
src/sim/w_stubs.c
src/sim/w_tk.c
src/sim/w_tool.c
src/sim/w_update.c
src/sim/w_util.c
src/sim/w_x.c
Impressum, Datenschutz