Ethereal-dev: Re: [Ethereal-dev] 0.10.9: plugins/mate/mate.h - attributes in prototypes for un

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <lars.roland@xxxxxxx>
Date: Sun, 30 Jan 2005 12:29:23 +0100
Guy Harris schrieb:
Lubomir Sedlacik wrote:

gcc < 3 doesn't support attributes in prototypes for unnamed pointers
and mate plugin refuses to compile in 0.10.9 with gcc 2.95.3.  see the
NetBSD PR pkg/29065 for details:

 http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=29065

naming the parameters would probably be the easiest fix here.


The cleanest fix is to remove the attributes (they're not necessary in declarations, just in function definitions), as per a patch by Yoshihiro Oyama, which is what's been checked in.


The declaration in question was completely removed from mate.h with the last patch, as it is not needed anymore.

Regards,
Lars