Skip to content

Commit

Permalink
netfilter/queue: Add missing prototype for nfnl_queue_msg_build_verdi…
Browse files Browse the repository at this point in the history
…ct_batch()

Add the function prototype for nfnl_queue_msg_build_verdict_batch() to
the public header.

This fixes the following GCC warning when building with
-Wmissing-prototypes:

  netfilter/queue_msg.c:190:1: warning: no previous prototype for ‘nfnl_queue_msg_build_verdict_batch’ [-Wmissing-prototypes]

Fixes: d612180 ("netfilter/queue: introduce nfnl_queue_msg_send_verdict_batch()")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
  • Loading branch information
tklauser committed Jan 20, 2017
1 parent 4deb2ac commit a4aa54f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/netlink/netfilter/queue_msg.h
Expand Up @@ -93,6 +93,8 @@ extern unsigned int nfnl_queue_msg_get_verdict(const struct nfnl_queue_msg *);
extern struct nl_msg * nfnl_queue_msg_build_verdict(const struct nfnl_queue_msg *);
extern int nfnl_queue_msg_send_verdict(struct nl_sock *,
const struct nfnl_queue_msg *);

extern struct nl_msg * nfnl_queue_msg_build_verdict_batch(const struct nfnl_queue_msg *msg);
extern int nfnl_queue_msg_send_verdict_batch(struct nl_sock *,
const struct nfnl_queue_msg *);
extern int nfnl_queue_msg_send_verdict_payload(struct nl_sock *,
Expand Down

0 comments on commit a4aa54f

Please sign in to comment.