From 9e9136cffdbb3acc58a609f5d66284d2fdb97d22 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 7 Dec 2024 20:54:22 +0300 Subject: [PATCH] nfqws: static func --- nfq/nfqws.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nfq/nfqws.c b/nfq/nfqws.c index c7d5870..cd30a31 100644 --- a/nfq/nfqws.c +++ b/nfq/nfqws.c @@ -152,7 +152,7 @@ static int nfq_cb(struct nfq_q_handle *qh, struct nfgenmsg *nfmsg, struct nfq_da DLOG("packet: id=%d pass unmodified\n", id); return nfq_set_verdict2(qh, id, NF_ACCEPT, mark, 0, NULL); } -bool nfq_deinit(struct nfq_handle **h,struct nfq_q_handle **qh) +static bool nfq_deinit(struct nfq_handle **h,struct nfq_q_handle **qh) { if (*qh) { @@ -167,7 +167,7 @@ bool nfq_deinit(struct nfq_handle **h,struct nfq_q_handle **qh) *h = NULL; } } -bool nfq_init(struct nfq_handle **h,struct nfq_q_handle **qh) +static bool nfq_init(struct nfq_handle **h,struct nfq_q_handle **qh) { nfq_deinit(h,qh);