changeset 26263:65d1238b3631

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.
author uau
date Fri, 28 Mar 2008 01:07:59 +0000
parents 41597529c087
children a80db7629478
files command.c parser-cfg.c parser-mpcmd.c
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/command.c	Thu Mar 27 19:58:00 2008 +0000
+++ b/command.c	Fri Mar 28 01:07:59 2008 +0000
@@ -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"
--- a/parser-cfg.c	Thu Mar 27 19:58:00 2008 +0000
+++ b/parser-cfg.c	Fri Mar 28 01:07:59 2008 +0000
@@ -19,6 +19,7 @@
 #include <assert.h>
 #endif
 
+#include "parser-cfg.h"
 #include "mp_msg.h"
 #include "m_option.h"
 #include "m_config.h"
--- a/parser-mpcmd.c	Thu Mar 27 19:58:00 2008 +0000
+++ b/parser-mpcmd.c	Fri Mar 28 01:07:59 2008 +0000
@@ -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;