aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/ipfilter/netinet/fil.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-01-27 15:25:00 +0000
committerCy Schubert <cy@FreeBSD.org>2021-02-02 01:19:15 +0000
commit7071734fae6019d1e3e44daf7deb4478582081cc (patch)
tree5ee67bc89f0e38fe6005dce39c32c693beadbee1 /sys/contrib/ipfilter/netinet/fil.c
parent4cd1807c7d2a67b633dd0c0bfde15091543a2514 (diff)
downloadsrc-7071734fae6019d1e3e44daf7deb4478582081cc.tar.gz
src-7071734fae6019d1e3e44daf7deb4478582081cc.zip
Indentation cleanup resulting from the cleanup of #ifdefs.
The conscious decision was made not to perform any indentation or whitespace cleanup while cleaning out old redunant #ifdefs. The reason for this was to avoid confusing future readers of history and diffs with cosmetic changes, making bisection of any possible bugs introduced more difficult. This commit cleans up the whitespace detritus left behind from the previous #ifdef cleanup commits. MFC after: 1 week
Diffstat (limited to 'sys/contrib/ipfilter/netinet/fil.c')
-rw-r--r--sys/contrib/ipfilter/netinet/fil.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/contrib/ipfilter/netinet/fil.c b/sys/contrib/ipfilter/netinet/fil.c
index 7402437d98c7..a79d441284bf 100644
--- a/sys/contrib/ipfilter/netinet/fil.c
+++ b/sys/contrib/ipfilter/netinet/fil.c
@@ -48,7 +48,7 @@
#if !defined(__SVR4)
# include <sys/mbuf.h>
#else
-# include <sys/byteorder.h>
+# include <sys/byteorder.h>
# if (SOLARIS2 < 5) && defined(sun)
# include <sys/dditypes.h>
# endif
@@ -4117,11 +4117,11 @@ ipf_sync(softc, ifp)
{
int i;
-# if !SOLARIS
+#if !SOLARIS
ipf_nat_sync(softc, ifp);
ipf_state_sync(softc, ifp);
ipf_lookup_sync(softc, ifp);
-# endif
+#endif
WRITE_ENTER(&softc->ipf_mutex);
(void) ipf_synclist(softc, softc->ipf_acct[0][softc->ipf_active], ifp);
@@ -4168,13 +4168,13 @@ copyinptr(softc, src, dst, size)
caddr_t ca;
int error;
-# if SOLARIS
+#if SOLARIS
error = COPYIN(src, &ca, sizeof(ca));
if (error != 0)
return error;
-# else
+#else
bcopy(src, (caddr_t)&ca, sizeof(ca));
-# endif
+#endif
error = COPYIN(ca, dst, size);
if (error != 0) {
IPFERROR(3);