[MPlayer-cvslog] r26305 - trunk/command.h

uau subversion at mplayerhq.hu
Mon Mar 31 06:10:54 CEST 2008


Author: uau
Date: Mon Mar 31 06:10:54 2008
New Revision: 26305

Log:
command.h: Remove unnecessary includes

Remove #include of "mp_core.h" and "input/input.h". Their only use was
that functions declared in command.h took pointers to structs defined
in those headers. Declare the structs directly as incomplete types
instead.


Modified:
   trunk/command.h

Modified: trunk/command.h
==============================================================================
--- trunk/command.h	(original)
+++ trunk/command.h	Mon Mar 31 06:10:54 2008
@@ -1,10 +1,10 @@
 #ifndef MPLAYER_COMMAND_H
 #define MPLAYER_COMMAND_H
 
-#include "mp_core.h"
-#include "input/input.h"
+struct MPContext;
+struct mp_cmd;
 
-int run_command(struct MPContext *mpctx, mp_cmd_t *cmd);
+int run_command(struct MPContext *mpctx, struct mp_cmd *cmd);
 char *property_expand_string(struct MPContext *mpctx, char *str);
 void property_print_help(void);
 



More information about the MPlayer-cvslog mailing list