]> git.sesse.net Git - vlc/blobdiff - include/vlc_main.h
Fix struct hotkey
[vlc] / include / vlc_main.h
index 44299df77333ff09640560ad8919d8645b61f383..841d15dc0ae1600ac7c779cf6ab7d5038f29b3a7 100644 (file)
@@ -28,6 +28,8 @@
 
 TYPEDEF_ARRAY(input_item_t*, input_item_array_t);
 
+struct hotkey;
+
 /*****************************************************************************
  * libvlc_internal_instance_t
  *****************************************************************************
@@ -38,11 +40,6 @@ struct libvlc_int_t
     VLC_COMMON_MEMBERS
 
     /* Structure storing the action name / key associations */
-    const struct hotkey
-    {
-        const char *psz_action;
-        int i_action;
-        int i_key;
-    } *p_hotkeys;
+    const struct hotkey *p_hotkeys;
 };