From 03bb309e4e6d8ae63b82730dc74a8f4d5d41732c Mon Sep 17 00:00:00 2001 From: uau Date: Fri, 28 Mar 2008 01:07:59 +0000 Subject: [PATCH] Include some .h files in corresponding .c files Include the corresponding .h file in command.c, parser-cfg.c and parser-mpcmd.c. This allows the compiler to check that the declarations in the .h file match the actual defition. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26295 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 1 + parser-cfg.c | 1 + parser-mpcmd.c | 1 + 3 files changed, 3 insertions(+) diff --git a/command.c b/command.c index e666aee1d2..59d7e7a0d0 100644 --- a/command.c +++ b/command.c @@ -4,6 +4,7 @@ #include #include "config.h" +#include "command.h" #include "input/input.h" #include "stream/stream.h" #include "libmpdemux/demuxer.h" diff --git a/parser-cfg.c b/parser-cfg.c index 7976939106..28fc2d4a57 100644 --- a/parser-cfg.c +++ b/parser-cfg.c @@ -19,6 +19,7 @@ #include #endif +#include "parser-cfg.h" #include "mp_msg.h" #include "m_option.h" #include "m_config.h" diff --git a/parser-mpcmd.c b/parser-mpcmd.c index b5168e84e7..8e5da2cb98 100644 --- a/parser-mpcmd.c +++ b/parser-mpcmd.c @@ -18,6 +18,7 @@ #include "m_option.h" #include "m_config.h" #include "playtree.h" +#include "parser-mpcmd.h" static int recursion_depth = 0; static int mode = 0;