summaryrefslogtreecommitdiff
path: root/navit/menu.c
diff options
context:
space:
mode:
authorJoseph Herlant <aerostitch@users.noreply.github.com>2018-05-30 08:43:42 -0700
committerjkoan <jkoan@users.noreply.github.com>2018-05-30 17:43:42 +0200
commit567a02aa949dfa34f7b2c2246c6eb6f8818fdf01 (patch)
tree4bb102fa60f0d01db0184d1424a5fc822ba79bc9 /navit/menu.c
parentcd477eb0e05b74b8dd26aa2df2778505a3b3c37c (diff)
downloadnavit-567a02aa949dfa34f7b2c2246c6eb6f8818fdf01.tar.gz
Cleanup:global:force the re-attach the return type to the function declaration (#605)
* Cleanup:global:force the re-attach the return type to the function declaration * cleanup:global:some loose ends
Diffstat (limited to 'navit/menu.c')
-rw-r--r--navit/menu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/menu.c b/navit/menu.c
index 29eb23752..629c981d2 100644
--- a/navit/menu.c
+++ b/navit/menu.c
@@ -36,8 +36,7 @@ menu_add(struct menu *menu, char *name, enum menu_type type, struct callback *cb
return this;
}
-void
-menu_popup(struct menu *menu) {
+void menu_popup(struct menu *menu) {
if (! menu || ! menu->meth.popup)
return;
(*menu->meth.popup)(menu->priv);