Ethereal

Re: [Ethereal-dev] Sun C cannot build packet-rx.h
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: August 2001


On Sun, Aug 19, 2001 at 07:33:09PM -0500, ethereal-dev@xxxxxxxxxxxxxxxxxx wrote:
> #define RX_MAXCALLS     4
> struct rxkad_response {

	...

>         u_char  the_ticket[0];
> };

That structure isn't actually used by the RX dissector, so I removed it
from "packet-rx.h" - along with the other structures, which also aren't
used.

Note to developers: zero-length arrays are Not C, and not accepted by
all C compilers, so don't use them.  Check out section 1.1.1
"Portability" in the current version of "doc/README.developer", which
gives a list of features to avoid.



Powered by MHonArc 2.6.10