From 8f4af658ae484c3090dbd5b5b9b498943b3eb959 Mon Sep 17 00:00:00 2001 From: Bert Date: Thu, 3 Feb 2011 10:15:01 +0100 Subject: Refactored, new files util.[ch], C89 --- image.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'image.c') diff --git a/image.c b/image.c index d1a1e35..13df76a 100644 --- a/image.c +++ b/image.c @@ -16,13 +16,12 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include -#include - #include -#include "sxiv.h" +#include "config.h" #include "image.h" +#include "options.h" +#include "util.h" int zl_cnt; float zoom_min; @@ -59,7 +58,7 @@ int _imlib_load_image(const char *filename) { return 0; if (!(im = imlib_load_image(filename))) { - WARN("could not open image: %s", filename); + warn("could not open image: %s", filename); return 0; } -- cgit v1.2.3-54-g00ecf