Various fixes for sparse warnings.
authorMikael Magnusson <mikachu@comhem.se>
Wed, 16 Jan 2008 14:25:08 +0000 (15:25 +0100)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 16 Jan 2008 14:35:25 +0000 (15:35 +0100)
commit0be98fee4743c795b06aa23881b82eff5bab3ef6
treeb108607acae5fc6298a1a6ed2e1c9354213557e0
parentcafba3acf3ef5b34be867a155ec05b35e82384e9
Various fixes for sparse warnings.

Define void functions with (void), not ().
Add missing includes.
Some functions were declared static but defined non-static.
Some variables that should be file static were file global but not used in any other file.
prop.h defined a new prop_atoms in each file that included it instead of declaring it extern.
15 files changed:
openbox/actions.c
openbox/client.c
openbox/client_list_combined_menu.c
openbox/event.c
openbox/focus_cycle_indicator.c
openbox/keyboard.c
openbox/mainloop.c
openbox/ping.c
openbox/prop.h
openbox/resist.c
openbox/screen.c
openbox/stacking.c
openbox/translate.c
openbox/xerror.c
render/instance.c