The branch main has been updated by glebius:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=161db3a910a41dfae0eea93f49b08eb7e6253617

commit 161db3a910a41dfae0eea93f49b08eb7e6253617
Author:     Gleb Smirnoff <[email protected]>
AuthorDate: 2026-01-05 18:03:10 +0000
Commit:     Gleb Smirnoff <[email protected]>
CommitDate: 2026-01-05 18:03:10 +0000

    ipfw: make create_objects_compat() static
    
    No functional change.
---
 sys/netpfil/ipfw/ip_fw_private.h | 2 --
 sys/netpfil/ipfw/ip_fw_sockopt.c | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/netpfil/ipfw/ip_fw_private.h b/sys/netpfil/ipfw/ip_fw_private.h
index 32ae54581833..582bdf8b1c2c 100644
--- a/sys/netpfil/ipfw/ip_fw_private.h
+++ b/sys/netpfil/ipfw/ip_fw_private.h
@@ -740,8 +740,6 @@ void ipfw_destroy_obj_rewriter(void);
 void ipfw_add_obj_rewriter(struct opcode_obj_rewrite *rw, size_t count);
 int ipfw_del_obj_rewriter(struct opcode_obj_rewrite *rw, size_t count);
 
-int create_objects_compat(struct ip_fw_chain *ch, ipfw_insn *cmd,
-    struct obj_idx *oib, struct obj_idx *pidx, struct tid_info *ti);
 void update_opcode_kidx(ipfw_insn *cmd, uint32_t idx);
 int classify_opcode_kidx(ipfw_insn *cmd, uint32_t *puidx);
 void ipfw_init_srv(struct ip_fw_chain *ch);
diff --git a/sys/netpfil/ipfw/ip_fw_sockopt.c b/sys/netpfil/ipfw/ip_fw_sockopt.c
index 2126c3e1c8a6..4e87865e966e 100644
--- a/sys/netpfil/ipfw/ip_fw_sockopt.c
+++ b/sys/netpfil/ipfw/ip_fw_sockopt.c
@@ -2035,7 +2035,7 @@ ipfw_check_object_name_generic(const char *name)
  *
  * Return 0 on success.
  */
-int
+static int
 create_objects_compat(struct ip_fw_chain *ch, ipfw_insn *cmd,
     struct obj_idx *oib, struct obj_idx *pidx, struct tid_info *ti)
 {

Reply via email to