From: deraadt Date: Sun, 15 May 2022 03:54:07 +0000 (+0000) Subject: gcc insists the decl for veb_ports_free also use inline X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9034d736f3d6935a8fef99d8e4a7178c8b2ca536;p=openbsd gcc insists the decl for veb_ports_free also use inline --- 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 *);