summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/nfnetlink_acct.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2012-10-13 13:50:53 +0200
committerJan Engelhardt <jengelh@inai.de>2012-10-13 13:50:53 +0200
commitd4a740659e127f6950ac8c43ef4f6a641594ed89 (patch)
tree9a018ea53c664ed64e4cc286dfbe898db252855d /include/linux/netfilter/nfnetlink_acct.h
parenta5e394e469f7c3e4e40dd60da2ddc0294f485fdc (diff)
build: resolve compile abort on RHEL5 #1
[ 24s] In file included from libnetfilter_acct.c:18: [ 24s] ../include/linux/netfilter/nfnetlink.h:4:46: error: linux/netfilter/nfnetlink_compat.h: No such file or directory Slurp in new headers from the kernel du jour (v3.6-10970-g4d7127d). Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Diffstat (limited to 'include/linux/netfilter/nfnetlink_acct.h')
-rw-r--r--include/linux/netfilter/nfnetlink_acct.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/include/linux/netfilter/nfnetlink_acct.h b/include/linux/netfilter/nfnetlink_acct.h
index 7c4279b..c7b6269 100644
--- a/include/linux/netfilter/nfnetlink_acct.h
+++ b/include/linux/netfilter/nfnetlink_acct.h
@@ -1,5 +1,5 @@
-#ifndef _NFNL_ACCT_H_
-#define _NFNL_ACCT_H_
+#ifndef _UAPI_NFNL_ACCT_H_
+#define _UAPI_NFNL_ACCT_H_
#ifndef NFACCT_NAME_MAX
#define NFACCT_NAME_MAX 32
@@ -23,14 +23,5 @@ enum nfnl_acct_type {
};
#define NFACCT_MAX (__NFACCT_MAX - 1)
-#ifdef __KERNEL__
-struct nf_acct;
-
-extern struct nf_acct *nfnl_acct_find_get(const char *filter_name);
-extern void nfnl_acct_put(struct nf_acct *acct);
-extern void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct);
-
-#endif /* __KERNEL__ */
-
-#endif /* _NFNL_ACCT_H */
+#endif /* _UAPI_NFNL_ACCT_H_ */