changeset 32025:23d8b025634a

Mark vf_info_menu declaration as const.
author diego
date Thu, 09 Sep 2010 10:39:08 +0000
parents 6c66a5ea013b
children fe0a39657851
files libmenu/menu.h libmenu/vf_menu.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/menu.h	Thu Sep 09 10:30:58 2010 +0000
+++ b/libmenu/menu.h	Thu Sep 09 10:39:08 2010 +0000
@@ -32,7 +32,7 @@
 extern double menu_mouse_x;
 extern double menu_mouse_y;
 extern int menu_mouse_pos_updated;
-extern vf_info_t vf_info_menu;
+extern const vf_info_t vf_info_menu;
 
 struct menu_priv_s;
 typedef struct  menu_s menu_t;
--- a/libmenu/vf_menu.c	Thu Sep 09 10:30:58 2010 +0000
+++ b/libmenu/vf_menu.c	Thu Sep 09 10:39:08 2010 +0000
@@ -256,7 +256,7 @@
 }
 
 
-vf_info_t vf_info_menu  = {
+const vf_info_t vf_info_menu  = {
   "Internal filter for libmenu",
   "menu",
   "Albeu",