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 --- options.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index 66cfcc5..6b3599c 100644 --- a/options.c +++ b/options.c @@ -16,19 +16,16 @@ * along with sxiv. If not, see . */ +#include "sxiv.h" +#define _IMAGE_CONFIG +#include "config.h" + #include #include -#include #include -#include "options.h" -#include "util.h" - -#define _IMAGE_CONFIG -#include "config.h" - -options_t _options; -const options_t *options = (const options_t*) &_options; +opt_t _options; +const opt_t *options = (const opt_t*) &_options; void print_usage(void) { -- cgit v1.2.3-54-g00ecf