From 8e365c3b94fe10351d4377954bb0a09377cb7ffa Mon Sep 17 00:00:00 2001 From: kn Date: Sun, 6 Nov 2022 21:34:01 +0000 Subject: [PATCH] Constify pfsync_acts[]; OK dlg --- sys/net/if_pfsync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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[] = { -- 2.20.1