From 1d272ae56707d296c2067306f8c048e54f4e55b0 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 23 Mar 2005 10:46:28 +0000 Subject: ssize_t -> size_t, from ntpd, there from Alexander von Gernler --- usr.sbin/ospfd/imsg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ospfd/imsg.c') diff --git a/usr.sbin/ospfd/imsg.c b/usr.sbin/ospfd/imsg.c index e9730b2747d..4759ca7a7d9 100644 --- a/usr.sbin/ospfd/imsg.c +++ b/usr.sbin/ospfd/imsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.c,v 1.2 2005/03/09 14:14:01 henning Exp $ */ +/* $OpenBSD: imsg.c,v 1.3 2005/03/23 10:46:26 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -89,8 +89,7 @@ imsg_read(struct imsgbuf *ibuf) int imsg_get(struct imsgbuf *ibuf, struct imsg *imsg) { - ssize_t datalen = 0; - size_t av, left; + size_t av, left, datalen; av = ibuf->r.wpos; -- cgit v1.2.3