summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-28 01:07:59 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-28 01:07:59 +0000
commit03bb309e4e6d8ae63b82730dc74a8f4d5d41732c (patch)
tree46d72d2cca71ffc0b619e93e50671d95d55052f7
parent35717c8ec72dec026fb561244086588ea95007f8 (diff)
downloadmpv-03bb309e4e6d8ae63b82730dc74a8f4d5d41732c.tar.bz2
mpv-03bb309e4e6d8ae63b82730dc74a8f4d5d41732c.tar.xz
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.c1
-rw-r--r--parser-cfg.c1
-rw-r--r--parser-mpcmd.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/command.c b/command.c
index e666aee1d2..59d7e7a0d0 100644
--- 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"
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;