svn commit: r354865 - head/sys/netinet6

Bjoern A. Zeeb bz at FreeBSD.org
Tue Nov 19 21:14:16 UTC 2019


Author: bz
Date: Tue Nov 19 21:14:15 2019
New Revision: 354865
URL: https://svnweb.freebsd.org/changeset/base/354865

Log:
  in6: move include
  
  Move the include for sysctl.h out of the middle of the file to the
  includes at the beginning.  This is will make it easier to add new
  sysctls.
  
  No functional changes.
  
  MFC after:	3 weeks
  Sponsored by:	Netflix

Modified:
  head/sys/netinet6/in6.c

Modified: head/sys/netinet6/in6.c
==============================================================================
--- head/sys/netinet6/in6.c	Tue Nov 19 21:10:44 2019	(r354864)
+++ head/sys/netinet6/in6.c	Tue Nov 19 21:14:15 2019	(r354865)
@@ -84,6 +84,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/kernel.h>
 #include <sys/lock.h>
 #include <sys/rmlock.h>
+#include <sys/sysctl.h>
 #include <sys/syslog.h>
 
 #include <net/if.h>
@@ -2023,8 +2024,6 @@ in6_if2idlen(struct ifnet *ifp)
 		return (64);
 	}
 }
-
-#include <sys/sysctl.h>
 
 struct in6_llentry {
 	struct llentry		base;


More information about the svn-src-head mailing list