# HG changeset patch # User uau # Date 1206666479 0 # Node ID 65d1238b36313dbbc8c8035c7cb9166c4721194f # Parent 41597529c0875ce6a8371011074154ab3e07f93c 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. diff -r 41597529c087 -r 65d1238b3631 command.c --- 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 #include "config.h" +#include "command.h" #include "input/input.h" #include "stream/stream.h" #include "libmpdemux/demuxer.h" diff -r 41597529c087 -r 65d1238b3631 parser-cfg.c --- 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 #endif +#include "parser-cfg.h" #include "mp_msg.h" #include "m_option.h" #include "m_config.h" diff -r 41597529c087 -r 65d1238b3631 parser-mpcmd.c --- 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;