DEADSOFTWARE

menu: remove data field from menu_t
[flatwaifu.git] / src / menu.h
index 39f064a61e74931daa291cd20bbb92fc8db51e51..daee0d78d871520bc6dcf4dc4ba2cbf13cb0eda6 100644 (file)
@@ -72,8 +72,7 @@ typedef union menu_msg_t {
 
 typedef struct menu_t menu_t;
 struct menu_t {
 
 typedef struct menu_t menu_t;
 struct menu_t {
-  void *data;
-  int (*handler)(menu_msg_t *msg, const menu_t *m, void *data, int i);
+  int (*handler)(menu_msg_t *msg, const menu_t *m, int i);
 };
 
 typedef struct simple_menu_t {
 };
 
 typedef struct simple_menu_t {