diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-06 21:34:02 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-06 21:34:02 +0000 |
commit | 2f479c799896ce4d1e1e0332be560926bb839429 (patch) | |
tree | ba3924653b54903bc5f66d89780644d576047dd9 /sys/net | |
parent | 206b6569da5132135e8a6f1ae15072ee7f199685 (diff) |
Constify pfsync_acts[]; OK dlg
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_pfsync.c | 4 |
1 files 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[] = { |