Skip to content

Commit

Permalink
netfilter: ipv4: function definition layout
Browse files Browse the repository at this point in the history
Use tabs instead of spaces to indent second line of parameters in
function definitions.

No changes detected by objdiff.

Signed-off-by: Ian Morris <ipm@chirality.org.uk>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  • Loading branch information
Ian Morris authored and Pablo Neira Ayuso committed Oct 16, 2015
1 parent 27951a0 commit 6c28255
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions net/ipv4/netfilter/arp_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ static inline void cleanup_entry(struct arpt_entry *e)
* newinfo).
*/
static int translate_table(struct xt_table_info *newinfo, void *entry0,
const struct arpt_replace *repl)
const struct arpt_replace *repl)
{
struct arpt_entry *iter;
unsigned int i;
Expand Down Expand Up @@ -892,7 +892,7 @@ static int compat_table_info(const struct xt_table_info *info,
#endif

static int get_info(struct net *net, void __user *user,
const int *len, int compat)
const int *len, int compat)
{
char name[XT_TABLE_MAXNAMELEN];
struct xt_table *t;
Expand Down Expand Up @@ -1069,7 +1069,7 @@ static int __do_replace(struct net *net, const char *name,
}

static int do_replace(struct net *net, const void __user *user,
unsigned int len)
unsigned int len)
{
int ret;
struct arpt_replace tmp;
Expand Down
6 changes: 3 additions & 3 deletions net/ipv4/netfilter/ip_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ cleanup_entry(struct ipt_entry *e, struct net *net)
newinfo) */
static int
translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0,
const struct ipt_replace *repl)
const struct ipt_replace *repl)
{
struct ipt_entry *iter;
unsigned int i;
Expand Down Expand Up @@ -1078,7 +1078,7 @@ static int compat_table_info(const struct xt_table_info *info,
#endif

static int get_info(struct net *net, void __user *user,
const int *len, int compat)
const int *len, int compat)
{
char name[XT_TABLE_MAXNAMELEN];
struct xt_table *t;
Expand Down Expand Up @@ -1304,7 +1304,7 @@ do_replace(struct net *net, const void __user *user, unsigned int len)

static int
do_add_counters(struct net *net, const void __user *user,
unsigned int len, int compat)
unsigned int len, int compat)
{
unsigned int i;
struct xt_counters_info tmp;
Expand Down

0 comments on commit 6c28255

Please sign in to comment.