All of lore.kernel.org
 help / color / mirror / Atom feed
From: Duncan Roe <duncan_roe@optusnet.com.au>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH libnetfilter_queue v3 2/5] src: Avoid compiler warning
Date: Sun,  9 Jan 2022 14:16:50 +1100	[thread overview]
Message-ID: <20220109031653.23835-3-duncan_roe@optusnet.com.au> (raw)
In-Reply-To: <20220109031653.23835-1-duncan_roe@optusnet.com.au>

The warning said to add '#include <linux/netfilter/nfnetlink_queue.h>' before
'#include <libnetfilter_queue/libnetfilter_queue.h>' but it turns out we don't
need libnetfilter_queue.h

Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
---
v3: New patch
 src/extra/callback.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/extra/callback.c b/src/extra/callback.c
index 2d67848..057d55a 100644
--- a/src/extra/callback.c
+++ b/src/extra/callback.c
@@ -12,7 +12,6 @@
 #include <libmnl/libmnl.h>
 #include <linux/netlink.h>
 #include <libnetfilter_queue/callback.h>
-#include <libnetfilter_queue/libnetfilter_queue.h>
 #include "internal.h"
 
 /* ---------------------------------------------------------------------- */
-- 
2.17.5


  parent reply	other threads:[~2022-01-09  3:17 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-09  3:16 [PATCH libnetfilter_queue v3 0/5] Speed-up Duncan Roe
2022-01-09  3:16 ` [PATCH libnetfilter_queue v3 1/5] src: eliminate packet copy when constructing struct pkt_buff Duncan Roe
2022-01-09  3:16 ` Duncan Roe [this message]
2022-01-09  3:16 ` [PATCH libnetfilter_queue v3 3/5] src: Use more meaningful name in callback.c Duncan Roe
2022-01-09  3:16 ` [PATCH libnetfilter_queue v3 4/5] build: doc: Eliminate doxygen warnings Duncan Roe
2022-01-09  3:16 ` [PATCH libnetfilter_queue v3 5/5] src: struct pktbuff is no longer opaque Duncan Roe
2022-01-17 23:58   ` [PATCH libnetfilter_queue v3 1-5/5] src: Speed-up Duncan Roe
2022-01-18  1:11     ` Pablo Neira Ayuso
2022-01-20  3:56       ` Duncan Roe
2022-01-20  6:27         ` Florian Westphal
2022-01-21  2:36           ` Duncan Roe
2022-01-23  2:03             ` Duncan Roe
2022-01-20 12:04         ` Florian Westphal
2022-01-20 12:40           ` Pablo Neira Ayuso
2022-02-22  1:39             ` Duncan Roe
2022-02-07  0:24           ` Duncan Roe
2022-02-07 10:44             ` Florian Westphal
2022-01-21  3:19       ` Duncan Roe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220109031653.23835-3-duncan_roe@optusnet.com.au \
    --to=duncan_roe@optusnet.com.au \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.