Date: Thu, 23 Feb 2012 10:19:24 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r232044 - projects/pf/head/sys/sys Message-ID: <201202231019.q1NAJObb099152@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202231019.q1NAJObb099152>