summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-06-21 18:58:46 +1000
committerDarren Tucker <dtucker@zip.com.au>2009-06-21 18:58:46 +1000
commitb422afa41f75229da03a90a52b0f30206b5797a1 (patch)
tree313a767cedbd5a2d8e7f060a924ee5f7db8895a1 /packet.c
parentc5564e1c4c41ae9af96973e2996e2a4285acbae8 (diff)
- andreas@cvs.openbsd.org 2009/06/12 20:43:22
[monitor.c packet.c] Fix warnings found by chl@ and djm@ and change roaming_atomicio's return type to match atomicio's Diff from djm@, ok markus@
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index f3f8389a3..f74fe52e3 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.c,v 1.163 2009/05/28 16:50:16 andreas Exp $ */ 1/* $OpenBSD: packet.c,v 1.164 2009/06/12 20:43:22 andreas Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -188,7 +188,7 @@ struct session_state {
188static struct session_state *active_state; 188static struct session_state *active_state;
189 189
190static struct session_state * 190static struct session_state *
191alloc_session_state() 191alloc_session_state(void)
192{ 192{
193 struct session_state *s = xcalloc(1, sizeof(*s)); 193 struct session_state *s = xcalloc(1, sizeof(*s));
194 194