aboutsummaryrefslogtreecommitdiffstats
path: root/thumbs.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 /thumbs.c
parent4af189e7d9851f56a5d42a1d42658e8e47320f90 (diff)
downloadnsxiv-148026007cae3b97d39d2cfee7562c139eb486b2.tar.zst
One header file for type definitions and function declarations
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/thumbs.c b/thumbs.c
index a9f4fe0..a99c764 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -16,8 +16,11 @@
* along with sxiv. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "sxiv.h"
+#define _THUMBS_CONFIG
+#include "config.h"
+
#include <errno.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
@@ -25,13 +28,6 @@
#include <unistd.h>
#include <utime.h>
-#include "options.h"
-#include "thumbs.h"
-#include "util.h"
-
-#define _THUMBS_CONFIG
-#include "config.h"
-
#if HAVE_LIBEXIF
#include <libexif/exif-data.h>
void exif_auto_orientate(const fileinfo_t*);