Include some .h files in corresponding .c files
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 28 Mar 2008 01:07:59 +0000 (01:07 +0000)
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 28 Mar 2008 01:07:59 +0000 (01:07 +0000)
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://git.mplayerhq.hu/mplayer/trunk@26295 b3059339-0415-0410-9bf9-f77b7e298cf2

command.c
parser-cfg.c
parser-mpcmd.c

index e666aee..59d7e7a 100644 (file)
--- a/command.c
+++ b/command.c
@@ -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"
index 7976939..28fc2d4 100644 (file)
@@ -19,6 +19,7 @@
 #include <assert.h>
 #endif
 
+#include "parser-cfg.h"
 #include "mp_msg.h"
 #include "m_option.h"
 #include "m_config.h"
index b5168e8..8e5da2c 100644 (file)
@@ -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;