At Thu, 09 Nov 2006 16:31:58 +0100,
Johan Rydberg wrote:
>
> Jeroen Dekkers <[EMAIL PROTECTED]> writes:
>
> > Any ideas for a new name for the define? Something like "grub_unused"?
>
> "UNUSED" ?
After a small discussion with Hollis on IRC I changed it to "UNUSED".
Jeroen Dekkers
___
Jeroen Dekkers <[EMAIL PROTECTED]> writes:
> Any ideas for a new name for the define? Something like "grub_unused"?
"UNUSED" ?
~j
pgpvJUkjmvaQn.pgp
Description: PGP signature
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman
At Fri, 03 Nov 2006 14:45:52 -0600,
Hollis Blanchard wrote:
>
> On Wed, 2006-11-01 at 13:48 +0100, Johan Rydberg wrote:
> > Hollis Blanchard <[EMAIL PROTECTED]> writes:
> >
> > > --- grub2-cvs.orig/include/grub/types.h 2006-10-31 19:06:47.0
> > > -0600
> > > +++ grub2-cvs/include/grub/
Hollis Blanchard <[EMAIL PROTECTED]> writes:
>> int
>> grub_foo (int x, unused int foo)
>> {
>> ...
>> }
>
> I believe gcc attributes can't be used as naturally as this; it would
> have to be "int unused foo" or "int unused *foo" (from memory).
[EMAIL PROTECTED]:~/tmp/t5 $ gcc -Dunuse
On Wed, 2006-11-01 at 13:48 +0100, Johan Rydberg wrote:
> Hollis Blanchard <[EMAIL PROTECTED]> writes:
>
> > --- grub2-cvs.orig/include/grub/types.h 2006-10-31 19:06:47.0
> > -0600
> > +++ grub2-cvs/include/grub/types.h 2006-10-31 19:06:58.0 -0600
> > @@ -23,6 +23,8 @@
> > #