summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
diff options
context:
space:
mode:
authorsiretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-23 10:22:44 +0000
committersiretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-23 10:22:44 +0000
commit9cef48bac77cbeefe7dade7cb38fb3a00a16733a (patch)
tree518cfb1bb7c56ae9a0e96369014425927a7bf8d9 /libvo/video_out.c
parent8bd8aba37a9e9046905e7baf20568910c17b8fa7 (diff)
downloadmpv-9cef48bac77cbeefe7dade7cb38fb3a00a16733a.tar.bz2
mpv-9cef48bac77cbeefe7dade7cb38fb3a00a16733a.tar.xz
rename 'struct keymap' -> 'struct mp_keymap'
This avoids the compilation failure on kFreeBSD (at least amd64): In file included from libvo/vo_directfb2.c:44: libvo/video_out.h:267: error: redefinition of 'struct keymap' This is because libvo/vo_directfb2.c #includes sys/kd.h, which in turn includes sys/kbio.h, which defines another 'struct keymap'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31059 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r--libvo/video_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index ec7872c0e5..c1786d27ba 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -371,7 +371,7 @@ int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height,
* \result translation corresponding to key or "to" value of last mapping
* if not found.
*/
-int lookup_keymap_table(const struct keymap *map, int key) {
+int lookup_keymap_table(const struct mp_keymap *map, int key) {
while (map->from && map->from != key) map++;
return map->to;
}