From 11dbdc22dbe55792fb7467419aca6ada3e9d5a86 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 25 Aug 2007 16:03:02 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24182 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 1 + mp_core.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/command.c b/command.c index fc471b106f..7db6894360 100644 --- a/command.c +++ b/command.c @@ -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 --git a/mp_core.h b/mp_core.h index 8e4eb663d5..45a0ce2d69 100644 --- a/mp_core.h +++ b/mp_core.h @@ -127,5 +127,4 @@ void exit_player_with_rc(const char* how, int rc); 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);