Date: Tue, 18 Apr 2000 10:17:36 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Jonathan Lemon <jlemon@flugsvamp.com> Cc: ache@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: event.h troubles Message-ID: <200004181717.KAA14421@apollo.backplane.com> References: <200004181407.JAA84381@prism.flugsvamp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
:In article <local.mail.freebsd-current/20000418062200.A85325@freebsd.org> you write:
:>Now I got lost of
:>
:>/usr/include/sys/event.h:159: warning: `struct timespec' declared inside
:>parameter list.
:>
:>because <sys/select.h> include it.
:>Please fix somehow.
:
:I'm looking at this now.
:--
:Jonathan
this just means you have:
int fubar(struct blah *ptr) ...
Where 'struct blah' has not been previously struct. This is one of those
broken ANSIsms. The solution is simple:
struct blah;
int fubar(struct blah *ptr) ...
-Matt
Matthew Dillon
<dillon@backplane.com>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004181717.KAA14421>
