mirror of https://github.com/mpv-player/mpv
cfg-common-opts.h: Remove multiple inclusion guards and #include
This file cannot be used as a normal header so the multiple inclusion guards are pointless, and the only reason the '#include "config.h"' did not break compilation was that it compiled to whitespace only due to its own multiple inclusion guard.
This commit is contained in:
parent
3ee6503a07
commit
ca63fdcf03
|
@ -1,8 +1,3 @@
|
||||||
#ifndef MPLAYER_CFG_COMMON_OPTS_H
|
|
||||||
#define MPLAYER_CFG_COMMON_OPTS_H
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
// ------------------------- common options --------------------
|
// ------------------------- common options --------------------
|
||||||
{"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
|
{"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
|
||||||
{"noquiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
|
{"noquiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
|
||||||
|
@ -341,5 +336,3 @@
|
||||||
{"fontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
{"fontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||||
{"nofontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
{"nofontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||||
#endif /* HAVE_FONTCONFIG */
|
#endif /* HAVE_FONTCONFIG */
|
||||||
|
|
||||||
#endif /* MPLAYER_CFG_COMMON_OPTS_H */
|
|
||||||
|
|
Loading…
Reference in New Issue