![Joe Perches](/assets/img/avatar_default.png)
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <joe@perches.com>
14 lines
317 B
C
14 lines
317 B
C
#ifndef _NFNL_ACCT_H_
|
|
#define _NFNL_ACCT_H_
|
|
|
|
#include <uapi/linux/netfilter/nfnetlink_acct.h>
|
|
|
|
|
|
struct nf_acct;
|
|
|
|
struct nf_acct *nfnl_acct_find_get(const char *filter_name);
|
|
void nfnl_acct_put(struct nf_acct *acct);
|
|
void nfnl_acct_update(const struct sk_buff *skb, struct nf_acct *nfacct);
|
|
|
|
#endif /* _NFNL_ACCT_H */
|