Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist openssh: Apply __dead to pr...



details:   https://anonhg.NetBSD.org/src/rev/915646522750
branches:  trunk
changeset: 378255:915646522750
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Jul 28 09:47:37 2023 +0000

description:
openssh: Apply __dead to print_config() to fix build with clang

diffstat:

 crypto/external/bsd/openssh/dist/sshd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7f976993c330 -r 915646522750 crypto/external/bsd/openssh/dist/sshd.c
--- a/crypto/external/bsd/openssh/dist/sshd.c   Fri Jul 28 09:18:58 2023 +0000
+++ b/crypto/external/bsd/openssh/dist/sshd.c   Fri Jul 28 09:47:37 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sshd.c,v 1.48 2023/07/26 17:58:16 christos Exp $       */
+/*     $NetBSD: sshd.c,v 1.49 2023/07/28 09:47:37 rin Exp $    */
 /* $OpenBSD: sshd.c,v 1.600 2023/03/08 04:43:12 guenther Exp $ */
 /*
  * Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -44,7 +44,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: sshd.c,v 1.48 2023/07/26 17:58:16 christos Exp $");
+__RCSID("$NetBSD: sshd.c,v 1.49 2023/07/28 09:47:37 rin Exp $");
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/ioctl.h>
@@ -1484,7 +1484,7 @@ prepare_proctitle(int ac, char **av)
        return ret;
 }
 
-static void
+__dead static void
 print_config(struct ssh *ssh, struct connection_info *connection_info)
 {
        /*



Home | Main Index | Thread Index | Old Index