From 43d00340767962573e8f4418536d673eef26b8a9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 13 Jun 2008 09:44:37 +0000 Subject: compile on older gcc; no decl after code --- usr.bin/ssh/packet.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh/packet.c') diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c index bc29fa46681..d2865fa592f 100644 --- a/usr.bin/ssh/packet.c +++ b/usr.bin/ssh/packet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.154 2008/06/12 20:38:28 dtucker Exp $ */ +/* $OpenBSD: packet.c,v 1.155 2008/06/13 09:44:36 deraadt Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -901,9 +901,10 @@ packet_read_seqnr(u_int32_t *seqnr_p) int type, len, ret, ms_remain; fd_set *setp; char buf[8192]; - DBG(debug("packet_read()")); struct timeval timeout, start, *timeoutp = NULL; + DBG(debug("packet_read()")); + setp = (fd_set *)xcalloc(howmany(connection_in+1, NFDBITS), sizeof(fd_mask)); -- cgit v1.2.3