summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2023-02-18 19:29:01 +0000
committerDudemanguy <random342@airmail.cc>2023-02-20 14:21:18 +0000
commit9efce6d4ae26114a23f41f0b3b2d0d9f0281547b (patch)
tree3fa0143e0d2fcf56ea66f4ea0027ab3e9aceedf9 /stream
parenta90355660c9d5a37ea3f24d6ef162baee4b09ab2 (diff)
downloadmpv-9efce6d4ae26114a23f41f0b3b2d0d9f0281547b.tar.bz2
mpv-9efce6d4ae26114a23f41f0b3b2d0d9f0281547b.tar.xz
various: drop unused #include "config.h"
Most sources don't need config.h. The inclusion only leads to lots of unneeded recompilation if the configuration is changed.
Diffstat (limited to 'stream')
-rw-r--r--stream/dvb_tune.c1
-rw-r--r--stream/stream_avdevice.c2
-rw-r--r--stream/stream_cb.c2
-rw-r--r--stream/stream_mf.c2
-rw-r--r--stream/stream_null.c2
5 files changed, 0 insertions, 9 deletions
diff --git a/stream/dvb_tune.c b/stream/dvb_tune.c
index 42125638dd..d097131f7a 100644
--- a/stream/dvb_tune.c
+++ b/stream/dvb_tune.c
@@ -35,7 +35,6 @@
#include <linux/dvb/dmx.h>
#include <linux/dvb/frontend.h>
-#include "config.h"
#include "osdep/io.h"
#include "dvbin.h"
#include "dvb_tune.h"
diff --git a/stream/stream_avdevice.c b/stream/stream_avdevice.c
index 3cfdfe1a53..5046b217c0 100644
--- a/stream/stream_avdevice.c
+++ b/stream/stream_avdevice.c
@@ -15,8 +15,6 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include "stream.h"
static int open_f(stream_t *stream)
diff --git a/stream/stream_cb.c b/stream/stream_cb.c
index 238dd1ac1c..29e556390c 100644
--- a/stream/stream_cb.c
+++ b/stream/stream_cb.c
@@ -1,5 +1,3 @@
-#include "config.h"
-
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/stream/stream_mf.c b/stream/stream_mf.c
index 4c871c4334..0160d7c0c1 100644
--- a/stream/stream_mf.c
+++ b/stream/stream_mf.c
@@ -20,8 +20,6 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <stdlib.h>
#include <string.h>
diff --git a/stream/stream_null.c b/stream/stream_null.c
index 83a6ab8cf8..4027c1b608 100644
--- a/stream/stream_null.c
+++ b/stream/stream_null.c
@@ -17,8 +17,6 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <stdlib.h>
#include <string.h>