From 6d0d51a41c4df22be3eb2ec8038f6fe6d260b21b Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Sun, 29 Mar 2020 19:14:27 +0000 Subject: [PATCH] openssh: -fno-common fix from upstream f47d72ddad This is currently staged in vendor/ as part of the 8.0p1 import, which isn't quite ready to land. Given that this is a simple one-line fix, apply it now as the fallout will be pretty minimal. -fno-common will become the default in GCC10/LLVM11. MFC after: 3 days --- crypto/openssh/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/openssh/session.c b/crypto/openssh/session.c index 3f628da77384..dde75920e79c 100644 --- a/crypto/openssh/session.c +++ b/crypto/openssh/session.c @@ -143,7 +143,7 @@ extern int startup_pipe; extern void destroy_sensitive_data(void); extern struct sshbuf *loginmsg; extern struct sshauthopt *auth_opts; -char *tun_fwd_ifnames; /* serverloop.c */ +extern char *tun_fwd_ifnames; /* serverloop.c */ /* original command from peer. */ const char *original_command = NULL;