From 9fe5a3b407171fc6bc2aef3fb3b18922e1bdd459 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 7 Apr 2014 15:59:38 -0400 Subject: [PATCH] keybindings: Fix style --- src/core/keybindings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/keybindings.c b/src/core/keybindings.c index cefcf23a0..f886ed56a 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -743,7 +743,8 @@ display_get_keybinding (MetaDisplay *display, } static guint -next_dynamic_keybinding_action () { +next_dynamic_keybinding_action (void) +{ static guint num_dynamic_bindings = 0; return META_KEYBINDING_ACTION_LAST + (++num_dynamic_bindings); }