diff --git a/src/application.c b/src/application.c index 1f71c3a..12427e0 100644 --- a/src/application.c +++ b/src/application.c @@ -15,7 +15,6 @@ #include "viewer.h" #include -#include #include #include #include diff --git a/src/event.h b/src/event.h index f8e2785..015130c 100644 --- a/src/event.h +++ b/src/event.h @@ -4,8 +4,8 @@ #pragma once +#include "action.h" #include "image.h" -#include "keybind.h" /** Event types. */ enum event_type { diff --git a/src/formats/avif.c b/src/formats/avif.c index ec58f9e..1c50c9c 100644 --- a/src/formats/avif.c +++ b/src/formats/avif.c @@ -5,8 +5,6 @@ #include "../loader.h" #include -#include -#include #include // AVI signature diff --git a/src/formats/bmp.c b/src/formats/bmp.c index 97a49d1..8b107a8 100644 --- a/src/formats/bmp.c +++ b/src/formats/bmp.c @@ -4,9 +4,7 @@ #include "../loader.h" -#include #include -#include // BMP type id #define BMP_TYPE ('B' | ('M' << 8)) diff --git a/src/formats/gif.c b/src/formats/gif.c index de26f98..ac63ed1 100644 --- a/src/formats/gif.c +++ b/src/formats/gif.c @@ -5,8 +5,6 @@ #include "../loader.h" #include -#include -#include #include // GIF signature diff --git a/src/formats/heif.c b/src/formats/heif.c index 86fabcb..4d1df87 100644 --- a/src/formats/heif.c +++ b/src/formats/heif.c @@ -8,7 +8,6 @@ #include #include -#include #ifdef HAVE_LIBEXIF /** diff --git a/src/formats/jpeg.c b/src/formats/jpeg.c index b0aadfd..c436dbb 100644 --- a/src/formats/jpeg.c +++ b/src/formats/jpeg.c @@ -4,10 +4,8 @@ #include "../loader.h" -#include #include #include -#include #include // depends on stdio.h, uses FILE but doesn't include the header diff --git a/src/gallery.c b/src/gallery.c index 108fc43..5c34c5d 100644 --- a/src/gallery.c +++ b/src/gallery.c @@ -11,7 +11,6 @@ #include "ui.h" #include -#include // Configuration parameters #define CFG_SECTION "gallery" diff --git a/src/info.c b/src/info.c index 18f6df0..7350f84 100644 --- a/src/info.c +++ b/src/info.c @@ -6,7 +6,6 @@ #include "application.h" #include "font.h" -#include "imagelist.h" #include "keybind.h" #include "loader.h" #include "ui.h" diff --git a/src/keybind.c b/src/keybind.c index de394bb..d48aff7 100644 --- a/src/keybind.c +++ b/src/keybind.c @@ -6,7 +6,6 @@ #include "application.h" -#include #include #include diff --git a/src/loader.c b/src/loader.c index e3fb630..3616fe7 100644 --- a/src/loader.c +++ b/src/loader.c @@ -6,15 +6,12 @@ #include "application.h" #include "buildcfg.h" -#include "event.h" #include "exif.h" #include "imagelist.h" #include #include -#include #include -#include #include #include #include diff --git a/src/main.c b/src/main.c index 51737f9..0a03912 100644 --- a/src/main.c +++ b/src/main.c @@ -7,7 +7,6 @@ #include "config.h" #include "imagelist.h" #include "loader.h" -#include "ui.h" #include "viewer.h" #include diff --git a/src/memdata.c b/src/memdata.c index 2474a14..da0e76e 100644 --- a/src/memdata.c +++ b/src/memdata.c @@ -6,8 +6,6 @@ #include #include -#include -#include #include #include #include diff --git a/src/viewer.c b/src/viewer.c index cf92b27..9f4472c 100644 --- a/src/viewer.c +++ b/src/viewer.c @@ -9,12 +9,9 @@ #include "fetcher.h" #include "imagelist.h" #include "info.h" -#include "keybind.h" -#include "loader.h" #include "ui.h" #include -#include #include #include #include