From 0be98fee4743c795b06aa23881b82eff5bab3ef6 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 16 Jan 2008 15:25:08 +0100 Subject: 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. --- openbox/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/keyboard.c') diff --git a/openbox/keyboard.c b/openbox/keyboard.c index eddda577..4c570dfb 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -265,7 +265,7 @@ void keyboard_event(ObClient *client, const XEvent *e) } } -void keyboard_rebind() +void keyboard_rebind(void) { tree_rebind(keyboard_firstnode); grab_keys(TRUE); -- cgit v1.2.3