diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-03-28 01:07:59 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-03-28 01:07:59 +0000 |
commit | 03bb309e4e6d8ae63b82730dc74a8f4d5d41732c (patch) | |
tree | 46d72d2cca71ffc0b619e93e50671d95d55052f7 | |
parent | 35717c8ec72dec026fb561244086588ea95007f8 (diff) |
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
-rw-r--r-- | command.c | 1 | ||||
-rw-r--r-- | parser-cfg.c | 1 | ||||
-rw-r--r-- | parser-mpcmd.c | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,7 @@ #include <string.h> #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 <assert.h> #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; |