From 148026007cae3b97d39d2cfee7562c139eb486b2 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Mon, 16 Oct 2017 21:10:35 +0200 Subject: One header file for type definitions and function declarations --- main.c | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 406c2b9..9f0b84f 100644 --- a/main.c +++ b/main.c @@ -16,9 +16,11 @@ * along with sxiv. If not, see . */ +#include "sxiv.h" +#define _MAPPINGS_CONFIG +#include "config.h" + #include -#include -#include #include #include #include @@ -26,24 +28,11 @@ #include #include #include -#include #include #include #include #include -#include "types.h" -#include "commands.h" -#include "image.h" -#include "options.h" -#include "thumbs.h" -#include "util.h" -#include "window.h" -#include "autoreload.h" - -#define _MAPPINGS_CONFIG -#include "config.h" - typedef struct { struct timeval when; bool active; -- cgit v1.2.3-54-g00ecf