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: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 29 Jan 2005 20:29:54 -0800
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.