diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-05 12:23:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 01:56:09 +0300 |
commit | e3ac5298159c5286cef86f0865d4fa6a606bd391 (patch) | |
tree | e2d398667438d5e9e4cb688af03a37c6198e2e72 /include | |
parent | fb46990dba94866462e90623e183d02ec591cf8f (diff) | |
download | linux-e3ac5298159c5286cef86f0865d4fa6a606bd391.tar.xz |
[NETFILTER]: nf_queue: make queue_handler const
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index 9bfc7d4f5868..c2c3fafa5fd0 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -281,11 +281,11 @@ struct nf_queue_handler { void *data; char *name; }; -extern int nf_register_queue_handler(int pf, - struct nf_queue_handler *qh); +extern int nf_register_queue_handler(int pf, + const struct nf_queue_handler *qh); extern int nf_unregister_queue_handler(int pf, - struct nf_queue_handler *qh); -extern void nf_unregister_queue_handlers(struct nf_queue_handler *qh); + const struct nf_queue_handler *qh); +extern void nf_unregister_queue_handlers(const struct nf_queue_handler *qh); extern void nf_reinject(struct sk_buff *skb, struct nf_info *info, unsigned int verdict); |