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 Add more __dead; pointed ou...
details: https://anonhg.NetBSD.org/src/rev/98836bee98d1
branches: trunk
changeset: 344040:98836bee98d1
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 11 13:15:02 2016 +0000
description:
Add more __dead; pointed out by clang (from tnn@)
diffstat:
crypto/external/bsd/openssh/dist/ssh-keygen.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 7c4b602a9841 -r 98836bee98d1 crypto/external/bsd/openssh/dist/ssh-keygen.c
--- a/crypto/external/bsd/openssh/dist/ssh-keygen.c Fri Mar 11 12:34:57 2016 +0000
+++ b/crypto/external/bsd/openssh/dist/ssh-keygen.c Fri Mar 11 13:15:02 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ssh-keygen.c,v 1.20 2016/03/11 01:55:00 christos Exp $ */
+/* $NetBSD: ssh-keygen.c,v 1.21 2016/03/11 13:15:02 christos Exp $ */
/* $OpenBSD: ssh-keygen.c,v 1.288 2016/02/15 09:47:49 dtucker Exp $ */
/*
@@ -15,7 +15,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: ssh-keygen.c,v 1.20 2016/03/11 01:55:00 christos Exp $");
+__RCSID("$NetBSD: ssh-keygen.c,v 1.21 2016/03/11 13:15:02 christos Exp $");
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
@@ -821,7 +821,7 @@
return NULL;
}
-static __dead void
+static void
fingerprint_one_key(const struct sshkey *public, const char *comment)
{
char *fp = NULL, *ra = NULL;
@@ -866,7 +866,7 @@
free(comment);
}
-static void
+__dead static void
do_fingerprint(struct passwd *pw)
{
FILE *f;
@@ -1902,7 +1902,7 @@
}
}
-static void
+__dead static void
do_show_cert(struct passwd *pw)
{
struct sshkey *key = NULL;
Home |
Main Index |
Thread Index |
Old Index