From: kn Date: Sun, 6 Nov 2022 21:34:01 +0000 (+0000) Subject: Constify pfsync_acts[]; OK dlg X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8e365c3b94fe10351d4377954bb0a09377cb7ffa;p=openbsd Constify pfsync_acts[]; OK dlg --- diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c index d19129baaf9..d279ede9cd6 100644 --- a/sys/net/if_pfsync.c +++ b/sys/net/if_pfsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pfsync.c,v 1.308 2022/11/06 21:31:24 dlg Exp $ */ +/* $OpenBSD: if_pfsync.c,v 1.309 2022/11/06 21:34:01 kn Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -118,7 +118,7 @@ int pfsync_in_error(caddr_t, int, int, int); void pfsync_update_state_locked(struct pf_state *); -struct { +const struct { int (*in)(caddr_t, int, int, int); size_t len; } pfsync_acts[] = {