Wireshark-dev: Re: [Wireshark-dev] Replace ntohl() with g_ntohl() -> automated check?
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 9 Nov 2006 14:22:52 +0100
On Tue, Nov 07, 2006 at 12:57:59PM +0000, LEGO wrote:
> what about #defining them so they trigger an error?

#define ntohl error() won't work, a g_ntohl would match as well. But how
about creating our own ntohl function with a conflicting prototype?
ok, forget it, in that case we cannot include inet.h :-(

 Ciao
      Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.