changeset 32000:8278ef02b2e5

Move menu_mouse_* extern declarations to menu.h, where they belong.
author diego
date Wed, 08 Sep 2010 18:21:49 +0000
parents 378af88c0db0
children 44c3f5637b8f
files libmenu/menu.h libmenu/menu_list.c
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/menu.h	Wed Sep 08 18:17:35 2010 +0000
+++ b/libmenu/menu.h	Wed Sep 08 18:21:49 2010 +0000
@@ -29,7 +29,9 @@
 extern int menu_fribidi_flip_commas;
 extern int menu_keepdir;
 extern int menu_startup;
-
+extern double menu_mouse_x;
+extern double menu_mouse_y;
+extern int menu_mouse_pos_updated;
 
 struct menu_priv_s;
 typedef struct  menu_s menu_t;
--- a/libmenu/menu_list.c	Wed Sep 08 18:17:35 2010 +0000
+++ b/libmenu/menu_list.c	Wed Sep 08 18:21:49 2010 +0000
@@ -35,9 +35,6 @@
 #define IMPL 1
 #include "menu_list.h"
 
-extern double menu_mouse_x;
-extern double menu_mouse_y;
-extern int menu_mouse_pos_updated;
 static int mouse_x;
 static int mouse_y;
 static int selection_x;