Mercurial > mplayer.hg
diff command.h @ 26273:8c92e7e4ccd9
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.
author | uau |
---|---|
date | Mon, 31 Mar 2008 04:10:54 +0000 |
parents | 83c95bd31aab |
children | c1a3f1bbba26 |
line wrap: on
line diff
--- 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);