[svn-commits] fjoe: freebsd/trunk r8334 - /freebsd/trunk/include/dahdi/compat/bsd.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Mar 13 05:34:33 CST 2010


Author: fjoe
Date: Sat Mar 13 05:34:30 2010
New Revision: 8334

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8334
Log:
Define time_before() in terms of time_after().

Modified:
    freebsd/trunk/include/dahdi/compat/bsd.h

Modified: freebsd/trunk/include/dahdi/compat/bsd.h
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/include/dahdi/compat/bsd.h?view=diff&rev=8334&r1=8333&r2=8334
==============================================================================
--- freebsd/trunk/include/dahdi/compat/bsd.h (original)
+++ freebsd/trunk/include/dahdi/compat/bsd.h Sat Mar 13 05:34:30 2010
@@ -393,7 +393,7 @@
 
 #define time_after(a, b)	((a) > (b))
 #define time_after_eq(a, b)	((a) >= (b))
-#define time_before(a, b)	((a) < (b))
+#define time_before(a, b)	time_after((b), (a))
 
 /*
  * Misc API




More information about the svn-commits mailing list