aboutsummaryrefslogtreecommitdiffstats
path: root/sys/openbsd
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-11-10 21:54:37 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2021-11-12 16:32:52 +0100
commit0afefce7b7d6ac6f7f4489b6c0b9d06f8be2f5a6 (patch)
tree041b37340a6d0f7de15c496b9095553eedac7587 /sys/openbsd
parent0dd854679a8119610343853c6d9229d1d041fde0 (diff)
sys: remove confusing comments that fake directives
It's a somewhat common mistake to write comments instead of directives: #include <foo> #define FOO BAR because that's how it's done in C. In preparation for warning about such cases remove all existing comments that fake directives.
Diffstat (limited to 'sys/openbsd')
-rw-r--r--sys/openbsd/socket_inet6.txt1
-rw-r--r--sys/openbsd/socket_unix.txt1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/openbsd/socket_inet6.txt b/sys/openbsd/socket_inet6.txt
index 7eb456622..d2ae21cab 100644
--- a/sys/openbsd/socket_inet6.txt
+++ b/sys/openbsd/socket_inet6.txt
@@ -7,7 +7,6 @@ include <sys/socket.h>
include <netinet/in.h>
include <net/route.h>
include <netinet6/ip6_mroute.h>
-# include <compat/linux/common/linux_socket.h>
include <sys/sockio.h>
# IPv6 sockets
diff --git a/sys/openbsd/socket_unix.txt b/sys/openbsd/socket_unix.txt
index 770f23eb7..7fe0601dc 100644
--- a/sys/openbsd/socket_unix.txt
+++ b/sys/openbsd/socket_unix.txt
@@ -6,7 +6,6 @@
include <sys/types.h>
include <sys/socket.h>
include <netinet/in.h>
-# include <compat/linux/common/linux_socket.h>
resource sock_unix[sock]