From b167c885e488ddc522c83d543f2a522d183117de Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Mon, 31 Aug 2009 02:23:47 -0700 Subject: fix compiler warnings --- src/meh.h | 2 ++ src/netpbm.c | 1 + 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/meh.h b/src/meh.h index 88f36e3..a2aa42f 100644 --- a/src/meh.h +++ b/src/meh.h @@ -35,6 +35,7 @@ void setaspect(unsigned int w, unsigned int h); void xinit(); void drawimage(XImage *ximg, unsigned int width, unsigned int height); XImage *getimage(struct image *img, unsigned int width, unsigned int height, int fast); +void freeXImg(XImage *ximg); #ifdef TDEBUG #define TDEBUG_START \ @@ -58,3 +59,4 @@ extern struct imageformat netpbm; extern struct imageformat imagemagick; + diff --git a/src/netpbm.c b/src/netpbm.c index ef61c8e..2c91879 100644 --- a/src/netpbm.c +++ b/src/netpbm.c @@ -1,6 +1,7 @@ #include #include +#include #include "meh.h" -- cgit v1.2.3