aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-07-09 15:07:10 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-07-09 15:07:10 +0000
commit5d34647d89a18ba141414ca684196b4ee2e4969f (patch)
treea34defa821bc37031ef616e324384aecd1652a8e
parent[w3m-dev 03935] Re: clear image (diff)
downloadw3m-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>
-rw-r--r--ChangeLog7
-rw-r--r--w3mimg/fb/fb.c4
-rw-r--r--w3mimg/fb/fb_img.h3
3 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 54b8765..83e32c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-10 Fumitoshi UKAI <ukai@ukai.org>
+
+ * w3mimg/fb/fb_img.h (get_image_size): add missing prototypes
+ * w3mimg/fb/fb.c (fb_clear): unused variable `j'
+
2003-07-09 Hiroyuki Ito <hito@crl.go.jp>
* [w3m-dev 03935] Re: clear image
@@ -7911,4 +7916,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.848 2003/07/09 15:02:28 ukai Exp $
+$Id: ChangeLog,v 1.849 2003/07/09 15:07:10 ukai Exp $
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