summaryrefslogtreecommitdiff
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-03-10 21:35:42 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-03-10 21:35:42 +0000
commit2e7acba8420decd69eaec339e3df96b44740f16f (patch)
tree901c12933ba51e8265159137f44d84afe2a3434f /sys/net/route.h
parent12cb04600081b07db57b59475d974d56e90470d4 (diff)
The return value of rt_ifa_purge() is ignored, so stop
returning a (possibly uninitialized) value. CID 1483466. ok millert@
Diffstat (limited to 'sys/net/route.h')
-rw-r--r--sys/net/route.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index c4cd0de09b5..0f78a4c36d4 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.180 2019/11/23 19:47:04 claudio Exp $ */
+/* $OpenBSD: route.h,v 1.181 2020/03/10 21:35:41 krw Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -464,7 +464,7 @@ void rtfree(struct rtentry *);
int rt_ifa_add(struct ifaddr *, int, struct sockaddr *, unsigned int);
int rt_ifa_del(struct ifaddr *, int, struct sockaddr *, unsigned int);
-int rt_ifa_purge(struct ifaddr *);
+void rt_ifa_purge(struct ifaddr *);
int rt_ifa_addlocal(struct ifaddr *);
int rt_ifa_dellocal(struct ifaddr *);
void rtredirect(struct sockaddr *, struct sockaddr *, struct sockaddr *, struct rtentry **, unsigned int);