From owner-freebsd-current Tue Apr 18 10:17:42 2000 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 901DB37B60D; Tue, 18 Apr 2000 10:17:39 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id KAA14421; Tue, 18 Apr 2000 10:17:36 -0700 (PDT) (envelope-from dillon) Date: Tue, 18 Apr 2000 10:17:36 -0700 (PDT) From: Matthew Dillon Message-Id: <200004181717.KAA14421@apollo.backplane.com> To: Jonathan Lemon Cc: ache@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: event.h troubles References: <200004181407.JAA84381@prism.flugsvamp.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :In article you write: :>Now I got lost of :> :>/usr/include/sys/event.h:159: warning: `struct timespec' declared inside :>parameter list. :> :>because 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message