summaryrefslogtreecommitdiffstats
path: root/freebsd/usr.bin/netstat/unix.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-06 09:35:05 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-11 10:08:06 +0100
commit0a57e1db23218393483a356c07868413a45caeeb (patch)
treea2d1dd67f5b05a52b1f79f571c690ebcf299d775 /freebsd/usr.bin/netstat/unix.c
parentChange license to BSD (diff)
downloadrtems-libbsd-0a57e1db23218393483a356c07868413a45caeeb.tar.bz2
Reduce divergence from FreeBSD sources
Diffstat (limited to '')
-rw-r--r--freebsd/usr.bin/netstat/unix.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/freebsd/usr.bin/netstat/unix.c b/freebsd/usr.bin/netstat/unix.c
index ada14c46..7a209ebc 100644
--- a/freebsd/usr.bin/netstat/unix.c
+++ b/freebsd/usr.bin/netstat/unix.c
@@ -53,9 +53,7 @@ __FBSDID("$FreeBSD$");
#include <sys/mbuf.h>
#include <sys/sysctl.h>
#include <sys/un.h>
-#ifndef __rtems__
#include <sys/unpcb.h>
-#endif /* __rtems__ */
#include <netinet/in.h>
@@ -196,7 +194,7 @@ fail:
#undef COPYOUT
#undef KREAD
}
-#endif
+#endif /* __rtems__ */
#ifndef __rtems__
void
@@ -247,7 +245,7 @@ unixpr(u_long count_off, u_long gencnt_off, u_long dhead_off, u_long shead_off)
free(buf);
}
}
-#endif
+#endif /* __rtems__ */
#ifndef __rtems__
static void
@@ -293,4 +291,4 @@ unixdomainpr(struct xunpcb *xunp, struct xsocket *so)
sa->sun_path);
putchar('\n');
}
-#endif
+#endif /* __rtems__ */