aboutsummaryrefslogtreecommitdiff
path: root/image.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-03 10:15:01 +0100
committerBert <ber.t@gmx.com>2011-02-03 10:15:01 +0100
commit8f4af658ae484c3090dbd5b5b9b498943b3eb959 (patch)
tree995810dbc295f16bc5438844cb9eafc8cd5b9864 /image.c
parentf5c125b3ee7ac6d718cf23ef3c7aaba90ce89ff8 (diff)
Refactored, new files util.[ch], C89
Diffstat (limited to 'image.c')
-rw-r--r--image.c9
1 files changed, 4 insertions, 5 deletions
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 <stdlib.h>
-#include <stdio.h>
-
#include <Imlib2.h>
-#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;
}