From 5d34647d89a18ba141414ca684196b4ee2e4969f Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 9 Jul 2003 15:07:10 +0000 Subject: * w3mimg/fb/fb_img.h (get_image_size): add missing prototypes * w3mimg/fb/fb.c (fb_clear): unused variable `j' From: Fumitoshi UKAI --- w3mimg/fb/fb.c | 4 ++-- w3mimg/fb/fb_img.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'w3mimg/fb') 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 -- cgit v1.2.3