summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-05-04 16:01:37 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-05-04 16:01:37 +0200
commitd2adc46f2748099316df910d0ecc14e4218590a0 (patch)
treef01ffce2576aae362d464925447edcdbd72147b7 /examples
parent633bea57cb70b1e227629d46da03e1fa34f0e259 (diff)
downloadlibmnl-d2adc46f2748099316df910d0ecc14e4218590a0.tar.gz
libmnl-d2adc46f2748099316df910d0ecc14e4218590a0.zip
statify function in nf-queue.c example
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/nf-queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/nf-queue.c b/examples/nf-queue.c
index cbbf91f..bde9db1 100644
--- a/examples/nf-queue.c
+++ b/examples/nf-queue.c
@@ -141,7 +141,8 @@ nfq_build_cfg_params(char *buf, uint8_t mode, int range, int queue_num)
return nlh;
}
-struct nlmsghdr *nfq_build_verdict(char *buf, int id, int queue_num, int verd)
+static struct nlmsghdr *
+nfq_build_verdict(char *buf, int id, int queue_num, int verd)
{
struct nlmsghdr *nlh;
struct nfgenmsg *nfg;