# HG changeset patch # User diego # Date 1188057782 0 # Node ID 05a5af844c6950021af1bfa0a0b0c941923278af # Parent 10cbc709910bc369b8130f3ac80f685b34b0ef99 Fix warnings: In file included from mplayer.c:191: mp_fifo.h:5: warning: redundant redeclaration of 'mplayer_put_key' mp_core.h:129: warning: previous declaration of 'mplayer_put_key' was here In file included from command.c:59: mp_fifo.h:5: warning: redundant redeclaration of 'mplayer_put_key' mp_core.h:129: warning: previous declaration of 'mplayer_put_key' was here diff -r 10cbc709910b -r 05a5af844c69 command.c --- a/command.c Sat Aug 25 15:53:27 2007 +0000 +++ b/command.c Sat Aug 25 16:03:02 2007 +0000 @@ -55,6 +55,7 @@ #endif #include "mp_core.h" +#include "mp_fifo.h" #define ROUND(x) ((int)((x)<0 ? (x)-0.5 : (x)+0.5)) diff -r 10cbc709910b -r 05a5af844c69 mp_core.h --- a/mp_core.h Sat Aug 25 15:53:27 2007 +0000 +++ b/mp_core.h Sat Aug 25 16:03:02 2007 +0000 @@ -127,5 +127,4 @@ char *get_path(const char *filename); void rm_osd_msg(int id); void add_subtitles(char *filename, float fps, int silent); -void mplayer_put_key(int code); int reinit_video_chain(void);