socsvn commit: r272213 - soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw

dpl at FreeBSD.org dpl at FreeBSD.org
Mon Aug 11 16:00:16 UTC 2014


Author: dpl
Date: Mon Aug 11 16:00:15 2014
New Revision: 272213
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=272213

Log:
  Moved functions to a place where structs that could be used are already defined.

Modified:
  soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h

Modified: soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h
==============================================================================
--- soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h	Mon Aug 11 15:41:55 2014	(r272212)
+++ soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h	Mon Aug 11 16:00:15 2014	(r272213)
@@ -32,9 +32,6 @@
 // The real function will be inserted by the JIT.
 int ipfw_chk_jit(struct ip_fw_args *args, struct ip_fw_chain *chain);
 
-// Functions used by JIT, external to our code.
-int printf(const char * restrict format, ...);
-
 // Declarations of some needed structs.
 struct mbuf;
 
@@ -54,6 +51,10 @@
 	struct ucred;
 #endif
 
+// Functions used by JIT, external to our code.
+int printf(const char * restrict format, ...);
+
+
 /*
  * Some macros used in the various matching options.
  * L3HDR maps an ipv4 pointer into a layer3 header pointer of type T


More information about the svn-soc-all mailing list