From 09fc77a7a3fbdc8a1128ae4bca8efd9a814b8894 Mon Sep 17 00:00:00 2001 From: hollisb Date: Wed, 31 Aug 2005 01:26:34 +0000 Subject: [PATCH] 2005-08-30 Hollis Blanchard * term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): Fix `unused parameter' warning. --- ChangeLog | 5 +++++ term/ieee1275/ofconsole.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 14d7309ad..e61db32df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-30 Hollis Blanchard + + * term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): Fix + `unused parameter' warning. + 2005-08-30 Hollis Blanchard * term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): New diff --git a/term/ieee1275/ofconsole.c b/term/ieee1275/ofconsole.c index 2112f048d..fc484503d 100644 --- a/term/ieee1275/ofconsole.c +++ b/term/ieee1275/ofconsole.c @@ -84,7 +84,7 @@ grub_ofconsole_putchar (grub_uint32_t c) } static grub_ssize_t -grub_ofconsole_getcharwidth (grub_uint32_t c) +grub_ofconsole_getcharwidth (grub_uint32_t c __attribute__((unused))) { return 1; }