diff options
author | claudio <claudio@openbsd.org> | 2006-04-25 08:33:00 +0000 |
---|---|---|
committer | claudio <claudio@openbsd.org> | 2006-04-25 08:33:00 +0000 |
commit | 0e407b1098ee9aef05b3ce58f7fdbb65b96afb73 (patch) | |
tree | 0b0a207e1375298eae281f297b027fb820008b56 /usr.sbin/ospfd/lsack.c | |
parent | limit pool backend preallocation to 2048 pages max (which only affects >2g physmem); miod@ toby@ ok (diff) | |
download | wireguard-openbsd-0e407b1098ee9aef05b3ce58f7fdbb65b96afb73.tar.xz wireguard-openbsd-0e407b1098ee9aef05b3ce58f7fdbb65b96afb73.zip |
Use size_t for buffer lenght passed to send_ls_ack() plus an ARGSUSED.
Diffstat (limited to 'usr.sbin/ospfd/lsack.c')
-rw-r--r-- | usr.sbin/ospfd/lsack.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/lsack.c b/usr.sbin/ospfd/lsack.c index 2a71bb356e0..f2640d8d37a 100644 --- a/usr.sbin/ospfd/lsack.c +++ b/usr.sbin/ospfd/lsack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsack.c,v 1.16 2006/03/13 09:36:06 claudio Exp $ */ +/* $OpenBSD: lsack.c,v 1.17 2006/04/25 08:33:00 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -35,7 +35,7 @@ void start_ls_ack_tx_timer_now(struct iface *); /* link state acknowledgement packet handling */ int -send_ls_ack(struct iface *iface, struct in_addr addr, void *data, int len) +send_ls_ack(struct iface *iface, struct in_addr addr, void *data, size_t len) { struct sockaddr_in dst; struct buf *buf; @@ -206,6 +206,7 @@ ls_ack_list_empty(struct iface *iface) } /* timers */ +/* ARGSUSED */ void ls_ack_tx_timer(int fd, short event, void *arg) { |