[MPlayer-dev-eng] Fix compiler warnings

Mizda Gábor gabrov at freemail.hu
Wed Jul 18 11:51:51 CEST 2007


Hi!

Attached two trivial patches to fix the following warnings:

In file included from mplayer.c:73:
osdep/getch2.h:25: warning: redundant redeclaration of 
'mp_input_win32_slave_cmd_func'
mplayer.c:27: warning: previous declaration of 
'mp_input_win32_slave_cmd_func' was here

In file included from mplayer.c:185:
mp_core.h:116: warning: redundant redeclaration of 'fixed_vo'
mp_core.h:114: warning: previous declaration of 'fixed_vo' was here

Since mplayer.c includes osdep/getch2.h unconditionally I removed
mp_input_win32_slave_cmd_func from it.

Greetings

Mizda Gabor
gabrov at freemail.hu


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp_core.h.diff
Type: text/x-diff
Size: 366 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070718/56a67079/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.c.diff
Type: text/x-diff
Size: 400 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070718/56a67079/attachment-0001.diff>


More information about the MPlayer-dev-eng mailing list