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 Use __dead
details: https://anonhg.NetBSD.org/src/rev/3f3dbe5c3e0e
branches: trunk
changeset: 768988:3f3dbe5c3e0e
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Aug 29 21:08:54 2011 +0000
description:
Use __dead
diffstat:
crypto/external/bsd/openssh/dist/packet.c | 6 +++---
crypto/external/bsd/openssh/dist/packet.h | 4 ++--
crypto/external/bsd/openssh/dist/ssh.c | 8 ++++----
crypto/external/bsd/openssh/dist/sshconnect2.c | 8 ++++----
4 files changed, 13 insertions(+), 13 deletions(-)
diffs (112 lines):
diff -r 17a123c3f365 -r 3f3dbe5c3e0e crypto/external/bsd/openssh/dist/packet.c
--- a/crypto/external/bsd/openssh/dist/packet.c Mon Aug 29 20:41:06 2011 +0000
+++ b/crypto/external/bsd/openssh/dist/packet.c Mon Aug 29 21:08:54 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: packet.c,v 1.6 2011/07/25 03:03:10 christos Exp $ */
+/* $NetBSD: packet.c,v 1.7 2011/08/29 21:08:54 joerg Exp $ */
/* $OpenBSD: packet.c,v 1.172 2010/11/13 23:27:50 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: packet.c,v 1.6 2011/07/25 03:03:10 christos Exp $");
+__RCSID("$NetBSD: packet.c,v 1.7 2011/08/29 21:08:54 joerg Exp $");
#include <sys/types.h>
#include <sys/queue.h>
#include <sys/socket.h>
@@ -251,7 +251,7 @@
active_state->packet_timeout_ms = timeout * count * 1000;
}
-static void
+__dead static void
packet_stop_discard(void)
{
if (active_state->packet_discard_mac) {
diff -r 17a123c3f365 -r 3f3dbe5c3e0e crypto/external/bsd/openssh/dist/packet.h
--- a/crypto/external/bsd/openssh/dist/packet.h Mon Aug 29 20:41:06 2011 +0000
+++ b/crypto/external/bsd/openssh/dist/packet.h Mon Aug 29 21:08:54 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: packet.h,v 1.4 2011/07/25 03:03:10 christos Exp $ */
+/* $NetBSD: packet.h,v 1.5 2011/08/29 21:08:54 joerg Exp $ */
/* $OpenBSD: packet.h,v 1.55 2010/11/13 23:27:50 djm Exp $ */
/*
@@ -69,7 +69,7 @@
void *packet_get_string(u_int *length_ptr);
char *packet_get_cstring(u_int *length_ptr);
void *packet_get_string_ptr(u_int *length_ptr);
-void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2)));
+__dead void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void set_newkeys(int mode);
diff -r 17a123c3f365 -r 3f3dbe5c3e0e crypto/external/bsd/openssh/dist/ssh.c
--- a/crypto/external/bsd/openssh/dist/ssh.c Mon Aug 29 20:41:06 2011 +0000
+++ b/crypto/external/bsd/openssh/dist/ssh.c Mon Aug 29 21:08:54 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ssh.c,v 1.7 2011/07/25 08:51:10 joerg Exp $ */
+/* $NetBSD: ssh.c,v 1.8 2011/08/29 21:08:54 joerg Exp $ */
/* $OpenBSD: ssh.c,v 1.356 2011/01/06 22:23:53 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -42,7 +42,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: ssh.c,v 1.7 2011/07/25 08:51:10 joerg Exp $");
+__RCSID("$NetBSD: ssh.c,v 1.8 2011/08/29 21:08:54 joerg Exp $");
#include <sys/types.h>
#include <sys/param.h>
#include <sys/ioctl.h>
@@ -184,7 +184,7 @@
/* Prints a help message to the user. This function never returns. */
-static void
+__dead static void
usage(void)
{
fprintf(stderr,
@@ -984,7 +984,7 @@
}
}
-static void
+__dead static void
client_cleanup_stdio_fwd(int id, void *arg)
{
debug("stdio forwarding: done");
diff -r 17a123c3f365 -r 3f3dbe5c3e0e crypto/external/bsd/openssh/dist/sshconnect2.c
--- a/crypto/external/bsd/openssh/dist/sshconnect2.c Mon Aug 29 20:41:06 2011 +0000
+++ b/crypto/external/bsd/openssh/dist/sshconnect2.c Mon Aug 29 21:08:54 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sshconnect2.c,v 1.8 2011/07/25 03:03:11 christos Exp $ */
+/* $NetBSD: sshconnect2.c,v 1.9 2011/08/29 21:08:54 joerg Exp $ */
/* $OpenBSD: sshconnect2.c,v 1.186 2010/11/29 23:45:51 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: sshconnect2.c,v 1.8 2011/07/25 03:03:11 christos Exp $");
+__RCSID("$NetBSD: sshconnect2.c,v 1.9 2011/08/29 21:08:54 joerg Exp $");
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
@@ -284,10 +284,10 @@
};
void input_userauth_success(int, u_int32_t, void *);
-void input_userauth_success_unexpected(int, u_int32_t, void *);
+__dead void input_userauth_success_unexpected(int, u_int32_t, void *);
void input_userauth_failure(int, u_int32_t, void *);
void input_userauth_banner(int, u_int32_t, void *);
-void input_userauth_error(int, u_int32_t, void *);
+__dead void input_userauth_error(int, u_int32_t, void *);
void input_userauth_info_req(int, u_int32_t, void *);
void input_userauth_pk_ok(int, u_int32_t, void *);
void input_userauth_passwd_changereq(int, u_int32_t, void *);
Home |
Main Index |
Thread Index |
Old Index