summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-31 04:10:54 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-31 04:10:54 +0000
commit2b2792565e5a0c6686c9238631e621969fec2d2c (patch)
tree740a34b880c520c2b944bf308021019ce8fd7635
parente3a29a7f4eaf43d84b5e85dcbc0a6004c2cfa18a (diff)
downloadmpv-2b2792565e5a0c6686c9238631e621969fec2d2c.tar.bz2
mpv-2b2792565e5a0c6686c9238631e621969fec2d2c.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26305 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--command.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/command.h b/command.h
index ffc81be2b5..f87c5a00ca 100644
--- a/command.h
+++ b/command.h
@@ -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);