From edf0fe06c8d6fc826a109a4f60d84828508ad2f9 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 20 Aug 2012 19:50:17 +0200 Subject: examples: nf-queue: fix compilation warning with gcc-4.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nf-queue.c: In function ‘main’: nf-queue.c:146:12: warning: unused variable ‘id’ [-Wunused-variable] Signed-off-by: Pablo Neira Ayuso --- src/libnetfilter_queue.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/libnetfilter_queue.c') diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c index dcfc36d..7a60b71 100644 --- a/src/libnetfilter_queue.c +++ b/src/libnetfilter_queue.c @@ -63,7 +63,8 @@ * \section Using libnetfilter_queue * * To write your own program using libnetfilter_queue, you should start by reading - * the doxygen documentation (start by \link LibrarySetup \endlink page) and nfqnl_test.c source file. + * the doxygen documentation (start by \link LibrarySetup \endlink page) and + * nf-queue.c source file. * * \section errors ENOBUFS errors in recv() * @@ -204,7 +205,7 @@ struct nfnl_handle *nfq_nfnlh(struct nfq_handle *h) /** * - * \defgroup Queue Queue handling + * \defgroup Queue Queue handling [DEPRECATED] * * Once libnetfilter_queue library has been initialised (See * \link LibrarySetup \endlink), it is possible to bind the program to a @@ -282,7 +283,7 @@ int nfq_fd(struct nfq_handle *h) */ /** - * \defgroup LibrarySetup Library setup + * \defgroup LibrarySetup Library setup [DEPRECATED] * * Library initialisation is made in two steps. * @@ -849,7 +850,7 @@ int nfq_set_verdict_mark(struct nfq_q_handle *qh, u_int32_t id, *************************************************************/ /** - * \defgroup Parsing Message parsing functions + * \defgroup Parsing Message parsing functions [DEPRECATED] * @{ */ @@ -860,7 +861,7 @@ int nfq_set_verdict_mark(struct nfq_q_handle *qh, u_int32_t id, * \return the netfilter queue netlink packet header for the given * nfq_data argument. Typically, the nfq_data value is passed as the 3rd * parameter to the callback function set by a call to nfq_create_queue(). - * + * * The nfqnl_msg_packet_hdr structure is defined in libnetfilter_queue.h as: * * \verbatim @@ -1135,7 +1136,7 @@ do { \ } while (0) /** - * \defgroup Printing + * \defgroup Printing Printing [DEPRECATED] * @{ */ -- cgit v1.2.3