From 9034d736f3d6935a8fef99d8e4a7178c8b2ca536 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 15 May 2022 03:54:07 +0000 Subject: [PATCH] gcc insists the decl for veb_ports_free also use inline --- sys/net/if_veb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_veb.c b/sys/net/if_veb.c index 303c6e1c0d3..7741da3d5ae 100644 --- a/sys/net/if_veb.c +++ b/sys/net/if_veb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_veb.c,v 1.26 2022/05/15 03:18:41 dlg Exp $ */ +/* $OpenBSD: if_veb.c,v 1.27 2022/05/15 03:54:07 deraadt Exp $ */ /* * Copyright (c) 2021 David Gwynne @@ -198,7 +198,7 @@ veb_ports_array(struct veb_ports *m) return (struct veb_port **)((caddr_t)m + _ALIGN(sizeof(*m))); } -static void veb_ports_free(struct veb_ports *); +static inline void veb_ports_free(struct veb_ports *); static void veb_p_unlink(struct veb_softc *, struct veb_port *); static void veb_p_fini(struct veb_port *); -- 2.20.1