diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-09 15:07:10 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-09 15:07:10 +0000 |
commit | 5d34647d89a18ba141414ca684196b4ee2e4969f (patch) | |
tree | a34defa821bc37031ef616e324384aecd1652a8e /w3mimg/fb | |
parent | [w3m-dev 03935] Re: clear image (diff) | |
download | w3m-5d34647d89a18ba141414ca684196b4ee2e4969f.tar.gz w3m-5d34647d89a18ba141414ca684196b4ee2e4969f.zip |
* w3mimg/fb/fb_img.h (get_image_size): add missing prototypes
* w3mimg/fb/fb.c (fb_clear): unused variable `j'
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r-- | w3mimg/fb/fb.c | 4 | ||||
-rw-r--r-- | w3mimg/fb/fb_img.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/w3mimg/fb/fb.c b/w3mimg/fb/fb.c index 184872f..77c2fba 100644 --- a/w3mimg/fb/fb.c +++ b/w3mimg/fb/fb.c @@ -1,4 +1,4 @@ -/* $Id: fb.c,v 1.14 2003/07/09 15:02:28 ukai Exp $ */ +/* $Id: fb.c,v 1.15 2003/07/09 15:07:11 ukai Exp $ */ /************************************************************************** fb.c 0.3 Copyright (C) 2002, hito **************************************************************************/ @@ -351,7 +351,7 @@ fb_height(void) int fb_clear(int x, int y, int w, int h, int r, int g, int b) { - int i, j, offset_fb; + int i, offset_fb; static int rr = -1, gg = -1, bb = -1; static char *tmp = NULL; diff --git a/w3mimg/fb/fb_img.h b/w3mimg/fb/fb_img.h index f607bde..cd1301b 100644 --- a/w3mimg/fb/fb_img.h +++ b/w3mimg/fb/fb_img.h @@ -1,10 +1,11 @@ -/* $Id: fb_img.h,v 1.7 2003/03/24 15:45:59 ukai Exp $ */ +/* $Id: fb_img.h,v 1.8 2003/07/09 15:07:11 ukai Exp $ */ #ifndef fb_img_header #define fb_img_header #include "fb.h" FB_IMAGE **fb_image_load(char *filename, int w, int h, int n); void fb_image_set_bg(int r, int g, int b); +int fb_image_clear(int x, int y, int w, int h); int get_image_size(char *filename, int *w, int *h); #endif |