Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-src.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-11-12 01:18:48 +0300
committerJohn Baldwin <jhb@FreeBSD.org>2022-11-12 01:18:48 +0300
commit573bd1fcf532eae35ac30d6aa2c6ff4985a60fe8 (patch)
tree3b361778e2d97997a9f872aeb822b94c55652920
parent001830ea7aaf2f7de7afe85741f9662d9571e1ee (diff)
wg: Drop the compat shim for sbcreatecontrol().
I had to make a few other changes when merging the driver to stable/13 anyway, so adjusting this as well isn't really a big deal. MFC after: 3 days
-rw-r--r--sys/dev/wg/compat.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/wg/compat.h b/sys/dev/wg/compat.h
index 29f6ea92a50e..72bbf8c3571d 100644
--- a/sys/dev/wg/compat.h
+++ b/sys/dev/wg/compat.h
@@ -7,11 +7,4 @@
* It is different from support.h, which is for code that is not _yet_ upstream.
*/
-#include <sys/param.h>
-
#define COMPAT_NEED_BLAKE2S
-
-#if __FreeBSD_version < 1400059
-#include <sys/sockbuf.h>
-#define sbcreatecontrol(a, b, c, d, e) sbcreatecontrol(a, b, c, d)
-#endif