[Oisf-devel] warnings - "inline" missing from prototypes?

Markus Lude markus.lude at gmx.de
Tue May 1 16:39:56 UTC 2012


On Tue, May 01, 2012 at 09:04:25AM +0200, Victor Julien wrote:
> On 04/29/2012 04:47 PM, Markus Lude wrote:
> > Hello,
> > 
> > src/decode.c:
> > decode.h:779: warning: 'PacketCopyData' declared inline after being
> > called
> > decode.h:779: warning: previous declaration of 'PacketCopyData' was here
> > ...
> > 
> > The functions PacketCopyData, PacketSetData and PacketCopyDataOffset are
> > declared inline, but "inline" is missing from the prototypes. Maybe add
> > "inline" to the prototypes?
> 
> Can you share your "configure" line?
 
I was working on an OpenBSD port of suricata. The configure call ended
up with (taken from config.log):

/usr/obj/ports/suricata-1.2.1/suricata-1.2.1/configure --enable-shared
--enable-debug --with-libnet-includes=/usr/local/include/libnet-1.1
--with-libnet-libraries=/usr/local/lib/libnet-1.1 --prefix=/usr/local
--sysconfdir=/etc --mandir=/usr/local/man --infodir=/usr/local/info
--localstatedir=/var --disable-silent-rules

Regards,
Markus




More information about the Oisf-devel mailing list