From 9b9302ea960ee8ef87c25ab14b8e1502f0308fae Mon Sep 17 00:00:00 2001 From: dtucker Date: Sun, 21 Jun 2009 09:50:08 +0000 Subject: [PATCH] - (dtucker) [auth2-jpake.c auth2.c canohost.h session.c] Whitespace and header-order changes to reduce diff vs OpenBSD. --- ChangeLog | 2 ++ auth2-jpake.c | 2 +- auth2.c | 2 +- canohost.h | 2 +- session.c | 6 +++--- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index c816276c..629c482d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -105,6 +105,8 @@ [roaming.h roaming_common.c roaming_dummy.c] Add tags for the benefit of the sync scripts Also: pull in the changes for 1.1->1.2 missed in the previous sync. + - (dtucker) [auth2-jpake.c auth2.c canohost.h session.c] Whitespace and + header-order changes to reduce diff vs OpenBSD. 20090616 - (dtucker) [configure.ac defines.h] Bug #1607: handle the case where fsid_t diff --git a/auth2-jpake.c b/auth2-jpake.c index 6092e31c..5de5506a 100644 --- a/auth2-jpake.c +++ b/auth2-jpake.c @@ -42,8 +42,8 @@ #include "ssh2.h" #include "key.h" #include "hostfile.h" -#include "buffer.h" #include "auth.h" +#include "buffer.h" #include "packet.h" #include "dispatch.h" #include "log.h" diff --git a/auth2.c b/auth2.c index ecf85705..92e6f584 100644 --- a/auth2.c +++ b/auth2.c @@ -35,8 +35,8 @@ #include #include -#include "xmalloc.h" #include "atomicio.h" +#include "xmalloc.h" #include "ssh2.h" #include "packet.h" #include "log.h" diff --git a/canohost.h b/canohost.h index 64000f5e..4c8636f4 100644 --- a/canohost.h +++ b/canohost.h @@ -24,6 +24,6 @@ char *get_local_name(int); int get_remote_port(void); int get_local_port(void); int get_sock_port(int, int); -void clear_cached_addr(void); +void clear_cached_addr(void); void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *); diff --git a/session.c b/session.c index f04266f7..cdbf88ab 100644 --- a/session.c +++ b/session.c @@ -715,8 +715,8 @@ do_exec_pty(Session *s, const char *command) * Do common processing for the child, such as execing * the command. */ - do_child(s, command); - /* NOTREACHED */ + do_child(s, command); + /* NOTREACHED */ default: break; } @@ -845,7 +845,7 @@ do_login(Session *s, const char *command) fromlen = sizeof(from); if (packet_connection_is_on_socket()) { if (getpeername(packet_get_connection_in(), - (struct sockaddr *) & from, &fromlen) < 0) { + (struct sockaddr *)&from, &fromlen) < 0) { debug("getpeername: %.100s", strerror(errno)); cleanup_exit(255); } -- 2.45.1