Cleanup includes

Improved manually with the help of neovim LSP warnings and iwyu:

    iwyu -Ibuilddir/app/ -Iapp/src/ app/src/XXX.c
This commit is contained in:
Romain Vimont
2024-12-20 20:58:41 +01:00
parent 5b1229a55f
commit af15c72f9c
110 changed files with 225 additions and 151 deletions

View File

@@ -3,7 +3,6 @@
#include "common.h"
#include <assert.h>
#include <stdbool.h>
#include <libavcodec/avcodec.h>

View File

@@ -1,5 +1,7 @@
#include "frame_source.h"
#include <assert.h>
void
sc_frame_source_init(struct sc_frame_source *source) {
source->sink_count = 0;

View File

@@ -3,7 +3,9 @@
#include "common.h"
#include "frame_sink.h"
#include <stdbool.h>
#include "trait/frame_sink.h"
#define SC_FRAME_SOURCE_MAX_SINKS 2

View File

@@ -3,9 +3,6 @@
#include "common.h"
#include <assert.h>
#include <stdbool.h>
#include "input_events.h"
/**

View File

@@ -3,7 +3,6 @@
#include "common.h"
#include <assert.h>
#include <stdbool.h>
#include "input_events.h"

View File

@@ -3,7 +3,6 @@
#include "common.h"
#include <assert.h>
#include <stdbool.h>
#include "input_events.h"

View File

@@ -3,7 +3,6 @@
#include "common.h"
#include <assert.h>
#include <stdbool.h>
#include <libavcodec/avcodec.h>

View File

@@ -1,5 +1,7 @@
#include "packet_source.h"
#include <assert.h>
void
sc_packet_source_init(struct sc_packet_source *source) {
source->sink_count = 0;

View File

@@ -3,7 +3,9 @@
#include "common.h"
#include "packet_sink.h"
#include <stdbool.h>
#include "trait/packet_sink.h"
#define SC_PACKET_SOURCE_MAX_SINKS 2