netdev
[Top] [All Lists]

Re: [PATCH]Implementation for IPv6 MIB:ipv6InterfaceTable

To: Shirley Ma <mashirle@xxxxxxxxxx>
Subject: Re: [PATCH]Implementation for IPv6 MIB:ipv6InterfaceTable
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Tue, 14 Oct 2003 15:24:41 -0700
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <200310141032.23998.mashirle@us.ibm.com>
References: <200310141032.23998.mashirle@us.ibm.com>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 14 Oct 2003 10:32:23 -0700
Shirley Ma <mashirle@xxxxxxxxxx> wrote:

> +#ifdef CONFIG_SYSCTL
> +#include <linux/sysctl.h>
> +#endif

Please don't add ifdefs around header includes like this if
you can avoid it.

> +void inet6_ifinfo_notify(int event, struct inet6_dev *idev);
 ...
> +extern int ndisc_ifinfo_sysctl_change(ctl_table *ctl, int write, struct file 
 ...
> +extern void inet6_ifinfo_notify(int event, struct inet6_dev *idev);
 ...

These belong in header files, not scattered around in *.c files.

Thanks.

<Prev in Thread] Current Thread [Next in Thread>