diff options
author | Darren Tucker <dtucker@zip.com.au> | 2009-06-21 18:58:46 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2009-06-21 18:58:46 +1000 |
commit | b422afa41f75229da03a90a52b0f30206b5797a1 (patch) | |
tree | 313a767cedbd5a2d8e7f060a924ee5f7db8895a1 /packet.c | |
parent | c5564e1c4c41ae9af96973e2996e2a4285acbae8 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { | |||
188 | static struct session_state *active_state; | 188 | static struct session_state *active_state; |
189 | 189 | ||
190 | static struct session_state * | 190 | static struct session_state * |
191 | alloc_session_state() | 191 | alloc_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 | ||