From owner-svn-src-projects@FreeBSD.ORG Sun May 31 18:03:07 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 370DD1065674; Sun, 31 May 2009 18:03:07 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 25B138FC1A; Sun, 31 May 2009 18:03:07 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4VI37qu050830; Sun, 31 May 2009 18:03:07 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4VI37Nh050829; Sun, 31 May 2009 18:03:07 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200905311803.n4VI37Nh050829@svn.freebsd.org> From: Robert Watson Date: Sun, 31 May 2009 18:03:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193179 - projects/pnet/sys/net X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 18:03:07 -0000 Author: rwatson Date: Sun May 31 18:03:06 2009 New Revision: 193179 URL: http://svn.freebsd.org/changeset/base/193179 Log: Mysteriously, ipfilter includes netisr.h in a userland compiled program. Defer fixing this the easy way for now. Modified: projects/pnet/sys/net/netisr.h Modified: projects/pnet/sys/net/netisr.h ============================================================================== --- projects/pnet/sys/net/netisr.h Sun May 31 17:23:27 2009 (r193178) +++ projects/pnet/sys/net/netisr.h Sun May 31 18:03:06 2009 (r193179) @@ -26,10 +26,7 @@ #ifndef _NET_NETISR_H_ #define _NET_NETISR_H_ - -#ifndef _KERNEL -#error "no user-serviceable parts inside" -#endif +#ifdef _KERNEL /* * The netisr (network interrupt service routine) provides a deferred @@ -152,4 +149,5 @@ void netisr_sched_poll(void); void netisr_poll(void); void netisr_pollmore(void); +#endif /* !_KERNEL */ #endif /* !_NET_NETISR_H_ */