Ethereal-dev: Re: [Ethereal-dev] Problems registering a new protocol

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 22 Oct 2000 13:02:02 -0700
On Sun, Oct 22, 2000 at 12:43:49PM -0700, Guy Harris wrote:
> I'm not sure why they're declared (if it's to squelch GCC warnings,
> why then didn't they declare the register routine?), and I'll remove the
> declarations, unless somebody comes up with a reason why the handoff
> registration routines for those dissectors *must* be called twice.

They're declared because they're passed later as arguments to another
routine.  I've changed "make-reg-dotc" to ignore lines with semicolons
in them, to try to ignore declarations.