git: cc29cf1df81e - stable/12 - ssh: diff reduction against OpenBSD, remove unused includes

Ed Maste emaste at FreeBSD.org
Wed Feb 17 19:28:37 UTC 2021


The branch stable/12 has been updated by emaste:

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

commit cc29cf1df81e6c28d5652fae629206ac26de3022
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-02-12 01:41:02 +0000
Commit:     Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-02-17 19:23:39 +0000

    ssh: diff reduction against OpenBSD, remove unused includes
    
    These appear to be leftovers from ca86bcf2531c7 and f7167e0ea0bf5
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 154adbbeb8fc2a0d183ec3a4db32cd13668205e8)
---
 crypto/openssh/misc.c       | 1 -
 crypto/openssh/sshconnect.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/crypto/openssh/misc.c b/crypto/openssh/misc.c
index 662d6bf48716..bdc06fdb3332 100644
--- a/crypto/openssh/misc.c
+++ b/crypto/openssh/misc.c
@@ -30,7 +30,6 @@
 #include <sys/ioctl.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
-#include <sys/sysctl.h>
 #include <sys/time.h>
 #include <sys/wait.h>
 #include <sys/un.h>
diff --git a/crypto/openssh/sshconnect.c b/crypto/openssh/sshconnect.c
index 2776be920a2c..b50029de71b8 100644
--- a/crypto/openssh/sshconnect.c
+++ b/crypto/openssh/sshconnect.c
@@ -27,7 +27,6 @@ __RCSID("$FreeBSD$");
 #include <net/if.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <rpc/rpc.h>
 
 #include <ctype.h>
 #include <errno.h>


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