git: 4cc5ae5a3922 - main - fwcontrol: Remove support for FreeBSD 4.x

Warner Losh imp at FreeBSD.org
Tue Apr 20 21:51:36 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=4cc5ae5a39226cb76248a87cca799e1ac594b9ac

commit 4cc5ae5a39226cb76248a87cca799e1ac594b9ac
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-04-20 21:44:35 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-04-20 21:51:31 +0000

    fwcontrol: Remove support for FreeBSD 4.x
    
    Sponsored by:           Netflix
---
 usr.sbin/fwcontrol/fwdv.c     | 4 ----
 usr.sbin/fwcontrol/fwmpegts.c | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/usr.sbin/fwcontrol/fwdv.c b/usr.sbin/fwcontrol/fwdv.c
index 2baf1c43c803..510d22fcbf7b 100644
--- a/usr.sbin/fwcontrol/fwdv.c
+++ b/usr.sbin/fwcontrol/fwdv.c
@@ -40,11 +40,7 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/uio.h>
-
-#if __FreeBSD_version >= 500000
 #include <arpa/inet.h>
-#endif
-
 #include <err.h>
 #include <errno.h>
 #include <unistd.h>
diff --git a/usr.sbin/fwcontrol/fwmpegts.c b/usr.sbin/fwcontrol/fwmpegts.c
index 509d941021c8..c744b53a7d46 100644
--- a/usr.sbin/fwcontrol/fwmpegts.c
+++ b/usr.sbin/fwcontrol/fwmpegts.c
@@ -40,11 +40,7 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/uio.h>
-
-#if __FreeBSD_version >= 500000
 #include <arpa/inet.h>
-#endif
-
 #include <err.h>
 #include <errno.h>
 #include <unistd.h>


More information about the dev-commits-src-main mailing list