From owner-svn-src-projects@FreeBSD.ORG Thu Feb 23 10:19:25 2012 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 29306106566C; Thu, 23 Feb 2012 10:19:25 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 145BB8FC12; Thu, 23 Feb 2012 10:19:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q1NAJOvE099154; Thu, 23 Feb 2012 10:19:24 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q1NAJObb099152; Thu, 23 Feb 2012 10:19:24 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201202231019.q1NAJObb099152@svn.freebsd.org> From: Gleb Smirnoff Date: Thu, 23 Feb 2012 10:19:24 +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: r232044 - projects/pf/head/sys/sys 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: Thu, 23 Feb 2012 10:19:25 -0000 Author: glebius Date: Thu Feb 23 10:19:24 2012 New Revision: 232044 URL: http://svn.freebsd.org/changeset/base/232044 Log: Expose NetBSD/OpenBSD compat defines to kernel code, too. Modified: projects/pf/head/sys/sys/time.h Modified: projects/pf/head/sys/sys/time.h ============================================================================== --- projects/pf/head/sys/sys/time.h Thu Feb 23 10:18:28 2012 (r232043) +++ projects/pf/head/sys/sys/time.h Thu Feb 23 10:19:24 2012 (r232044) @@ -199,8 +199,7 @@ timeval2bintime(const struct timeval *tv #endif /* _KERNEL */ -#ifndef _KERNEL /* NetBSD/OpenBSD compatible interfaces */ - +/* NetBSD/OpenBSD compatible interfaces. */ #define timerclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0) #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) #define timercmp(tvp, uvp, cmp) \ @@ -225,7 +224,6 @@ timeval2bintime(const struct timeval *tv (vvp)->tv_usec += 1000000; \ } \ } while (0) -#endif /* * Names of the interval timers, and structure