svn commit: r237865 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Sun Jul 1 02:37:05 UTC 2012
Author: adrian
Date: Sun Jul 1 02:37:04 2012
New Revision: 237865
URL: http://svn.freebsd.org/changeset/base/237865
Log:
Add OS_MEMCMP().
Modified:
head/sys/dev/ath/ah_osdep.h
Modified: head/sys/dev/ath/ah_osdep.h
==============================================================================
--- head/sys/dev/ath/ah_osdep.h Sun Jul 1 02:34:32 2012 (r237864)
+++ head/sys/dev/ath/ah_osdep.h Sun Jul 1 02:37:04 2012 (r237865)
@@ -63,6 +63,7 @@ typedef bus_space_handle_t HAL_BUS_HANDL
#define OS_INLINE __inline
#define OS_MEMZERO(_a, _n) bzero((_a), (_n))
#define OS_MEMCPY(_d, _s, _n) memcpy(_d,_s,_n)
+#define OS_MEMCMP(_a, _b, _l) memcmp((_a), (_b), (_l))
#define abs(_a) __builtin_abs(_a)
More information about the svn-src-head
mailing list