aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--psplash-fb.c3
-rw-r--r--psplash-fb.h3
-rw-r--r--psplash.c2
3 files changed, 3 insertions, 5 deletions
diff --git a/psplash-fb.c b/psplash-fb.c
index cdcbc19..8daaf6f 100644
--- a/psplash-fb.c
+++ b/psplash-fb.c
@@ -461,8 +461,7 @@ psplash_font_glyph (const PSplashFont *font, wchar_t wc, u_int32_t **bitmap)
}
void
-psplash_fb_text_size (PSplashFB *fb,
- int *width,
+psplash_fb_text_size (int *width,
int *height,
const PSplashFont *font,
const char *text)
diff --git a/psplash-fb.h b/psplash-fb.h
index c6c3144..a4a0f4c 100644
--- a/psplash-fb.h
+++ b/psplash-fb.h
@@ -78,8 +78,7 @@ psplash_fb_draw_image (PSplashFB *fb,
uint8 *rle_data);
void
-psplash_fb_text_size (PSplashFB *fb,
- int *width,
+psplash_fb_text_size (int *width,
int *height,
const PSplashFont *font,
const char *text);
diff --git a/psplash.c b/psplash.c
index 185f38e..65cf514 100644
--- a/psplash.c
+++ b/psplash.c
@@ -45,7 +45,7 @@ psplash_draw_msg (PSplashFB *fb, const char *msg)
{
int w, h;
- psplash_fb_text_size (fb, &w, &h, &radeon_font, msg);
+ psplash_fb_text_size (&w, &h, &radeon_font, msg);
DBG("displaying '%s' %ix%i\n", msg, w, h);