svn commit: r264974 - head/usr.sbin/ifmcstat

Alexander V. Chernikov melifaro at FreeBSD.org
Sat Apr 26 16:12:40 UTC 2014


Author: melifaro
Date: Sat Apr 26 16:12:39 2014
New Revision: 264974
URL: http://svnweb.freebsd.org/changeset/base/264974

Log:
  Remove sa_equal() definition since it is already defined in net/route.h.
  
  Noted by:	ian
  MFC after:	2 weeks

Modified:
  head/usr.sbin/ifmcstat/ifmcstat.c

Modified: head/usr.sbin/ifmcstat/ifmcstat.c
==============================================================================
--- head/usr.sbin/ifmcstat/ifmcstat.c	Sat Apr 26 14:52:03 2014	(r264973)
+++ head/usr.sbin/ifmcstat/ifmcstat.c	Sat Apr 26 16:12:39 2014	(r264974)
@@ -116,9 +116,6 @@ int		Kflag = 0;
 #endif
 int		vflag = 0;
 
-#define	sa_equal(a1, a2)	\
-	(bcmp((a1), (a2), ((a1))->sa_len) == 0)
-
 #define	sa_dl_equal(a1, a2)	\
 	((((struct sockaddr_dl *)(a1))->sdl_len ==			\
 	 ((struct sockaddr_dl *)(a2))->sdl_len) &&			\


More information about the svn-src-all mailing list