[MPlayer-cvslog] r35397 - in trunk/libmenu: menu.c menu.h
reimar
subversion at mplayerhq.hu
Sat Nov 10 14:29:26 CET 2012
Author: reimar
Date: Sat Nov 10 14:29:26 2012
New Revision: 35397
Log:
Fix const correctness.
Modified:
trunk/libmenu/menu.c
trunk/libmenu/menu.h
Modified: trunk/libmenu/menu.c
==============================================================================
--- trunk/libmenu/menu.c Sat Nov 10 14:25:25 2012 (r35396)
+++ trunk/libmenu/menu.c Sat Nov 10 14:29:26 2012 (r35397)
@@ -78,7 +78,7 @@ typedef struct menu_cmd_bindings_s {
struct menu_def_st {
char* name;
- menu_info_t* type;
+ const menu_info_t* type;
void* cfg;
char* args;
};
Modified: trunk/libmenu/menu.h
==============================================================================
--- trunk/libmenu/menu.h Sat Nov 10 14:25:25 2012 (r35396)
+++ trunk/libmenu/menu.h Sat Nov 10 14:29:26 2012 (r35397)
@@ -47,7 +47,7 @@ struct menu_s {
void (*read_cmd)(menu_t* menu,int cmd);
int (*read_key)(menu_t* menu,int cmd);
void (*close)(menu_t* menu);
- struct m_struct_st* priv_st;
+ const struct m_struct_st* priv_st;
struct menu_priv_s* priv;
int show; // Draw it ?
int cl; // Close request (user sent a close cmd or
More information about the MPlayer-cvslog
mailing list