git: 154adbbeb8fc - main - ssh: diff reduction against OpenBSD, remove unused includes

Ed Maste emaste at FreeBSD.org
Fri Feb 12 02:37:49 UTC 2021


The branch main has been updated by emaste:

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

commit 154adbbeb8fc2a0d183ec3a4db32cd13668205e8
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-12 02:37:31 +0000

    ssh: diff reduction against OpenBSD, remove unused includes
    
    These appear to be leftovers from ca86bcf2531c7 and f7167e0ea0bf5
    
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 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