* 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>
This commit is contained in:
Fumitoshi UKAI
2003-07-09 15:07:10 +00:00
parent 6d3c0f1d40
commit 5d34647d89
3 changed files with 10 additions and 4 deletions

View File

@@ -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;

View File

@@ -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