Skip to content

Commit

Permalink
various: remove global.h inclusion where not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Oct 1, 2024
1 parent c11239b commit 3f0c5ed
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 20 deletions.
1 change: 0 additions & 1 deletion audio/decode/ad_lavc.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "audio/fmt-conversion.h"
#include "common/av_common.h"
#include "common/codecs.h"
#include "common/global.h"
#include "common/msg.h"
#include "demux/packet.h"
#include "demux/stheader.h"
Expand Down
1 change: 0 additions & 1 deletion input/ipc-unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "osdep/threads.h"

#include "common/common.h"
#include "common/global.h"
#include "common/msg.h"
#include "input/input.h"
#include "libmpv/client.h"
Expand Down
1 change: 0 additions & 1 deletion options/m_config_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "libmpv/client.h"

#include "common/common.h"
#include "common/global.h"
#include "common/msg_control.h"
#include "common/msg.h"
#include "m_config_frontend.h"
Expand Down
1 change: 0 additions & 1 deletion options/m_config_frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <stdint.h>

#include "common/common.h"
#include "common/global.h"
#include "common/msg.h"
#include "common/msg_control.h"
#include "m_config_core.h"
Expand Down
1 change: 0 additions & 1 deletion options/parse_commandline.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <stdbool.h>

#include "osdep/io.h"
#include "common/global.h"
#include "common/msg.h"
#include "common/msg_control.h"
#include "m_option.h"
Expand Down
1 change: 0 additions & 1 deletion player/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "common/global.h"
#include "common/msg.h"
#include "common/msg_control.h"
#include "common/global.h"
#include "input/input.h"
#include "input/cmd.h"
#include "misc/ctype.h"
Expand Down
1 change: 0 additions & 1 deletion player/configfiles.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

#include "osdep/io.h"

#include "common/global.h"
#include "common/encode.h"
#include "common/msg.h"
#include "misc/ctype.h"
Expand Down
1 change: 0 additions & 1 deletion player/loadfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include "client.h"
#include "common/msg.h"
#include "common/msg_control.h"
#include "common/global.h"
#include "options/path.h"
#include "options/m_config.h"
#include "options/parse_configfile.h"
Expand Down
1 change: 0 additions & 1 deletion player/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "options/m_property.h"
#include "options/m_config.h"
#include "common/common.h"
#include "common/global.h"
#include "common/encode.h"
#include "common/playlist.h"
#include "input/input.h"
Expand Down
1 change: 0 additions & 1 deletion player/screenshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include <libavcodec/avcodec.h>

#include "common/global.h"
#include "osdep/io.h"

#include "mpv_talloc.h"
Expand Down
1 change: 0 additions & 1 deletion player/sub.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "common/msg.h"
#include "options/options.h"
#include "common/common.h"
#include "common/global.h"

#include "stream/stream.h"
#include "sub/dec_sub.h"
Expand Down
1 change: 0 additions & 1 deletion stream/stream_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "common/common.h"
#include "common/msg.h"
#include "common/global.h"
#include "stream.h"
#include "options/m_option.h"
#include "options/path.h"
Expand Down
1 change: 0 additions & 1 deletion sub/ass_mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include <ass/ass_types.h>

#include "common/common.h"
#include "common/global.h"
#include "common/msg.h"
#include "options/path.h"
#include "ass_mp.h"
Expand Down
1 change: 0 additions & 1 deletion test/repack.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <libavutil/pixfmt.h>

#include "common/common.h"
#include "common/global.h"
#include "img_utils.h"
#include "sub/draw_bmp.h"
#include "sub/osd.h"
Expand Down
1 change: 0 additions & 1 deletion video/decode/vd_lavc.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <libavutil/pixdesc.h>

#include "mpv_talloc.h"
#include "common/global.h"
#include "common/msg.h"
#include "options/m_config.h"
#include "options/options.h"
Expand Down
1 change: 0 additions & 1 deletion video/filter/vf_gpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#pragma once

#include "common/common.h"
#include "common/global.h"

struct offscreen_ctx {
struct mp_log *log;
Expand Down
1 change: 0 additions & 1 deletion video/out/gpu/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "misc/bstr.h"
#include "options/m_config.h"
#include "options/path.h"
#include "common/global.h"
#include "options/options.h"
#include "utils.h"
#include "hwdec.h"
Expand Down
1 change: 0 additions & 1 deletion video/out/opengl/context.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "common/global.h"
#include "video/out/gpu/context.h"
#include "common.h"

Expand Down
1 change: 0 additions & 1 deletion video/out/vo_dmabuf_wayland.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <va/va_drmcommon.h>
#endif

#include "common/global.h"
#include "gpu/hwdec.h"
#include "gpu/video.h"
#include "mpv_talloc.h"
Expand Down
1 change: 0 additions & 1 deletion video/out/vo_gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "common/common.h"
#include "misc/bstr.h"
#include "common/msg.h"
#include "common/global.h"
#include "options/m_config.h"
#include "vo.h"
#include "video/mp_image.h"
Expand Down

0 comments on commit 3f0c5ed

Please sign in to comment.