# HG changeset patch # User uau # Date 1206936654 0 # Node ID 8c92e7e4ccd9c6e271dce129f0f366ea7201d186 # Parent f6accae8703b230d2c8e4bfa8fa2add6c0223efc 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. diff -r f6accae8703b -r 8c92e7e4ccd9 command.h --- a/command.h Mon Mar 31 04:10:51 2008 +0000 +++ b/command.h Mon Mar 31 04:10:54 2008 +0000 @@ -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);