summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2017-10-16 21:10:35 +0200
committerBert Münnich <ber.t@posteo.de>2017-10-16 21:10:35 +0200
commit148026007cae3b97d39d2cfee7562c139eb486b2 (patch)
tree7cc8f8ffaaf7e34756b8550593f3e4999fd6490c /options.c
parent4af189e7d9851f56a5d42a1d42658e8e47320f90 (diff)
downloadnsxiv-148026007cae3b97d39d2cfee7562c139eb486b2.tar.zst
One header file for type definitions and function declarations
Diffstat (limited to 'options.c')
-rw-r--r--options.c15
1 files changed, 6 insertions, 9 deletions
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 <http://www.gnu.org/licenses/>.
*/
+#include "sxiv.h"
+#define _IMAGE_CONFIG
+#include "config.h"
+
#include <stdlib.h>
#include <string.h>
-#include <stdio.h>
#include <unistd.h>
-#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)
{