[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070102124557.GQ20714@stusta.de>
Date: Tue, 2 Jan 2007 13:45:57 +0100
From: Adrian Bunk <bunk@...sta.de>
To: David Miller <davem@...emloft.net>
Cc: samuel@...tiz.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] net/irda/: proper prototypes
On Tue, Jan 02, 2007 at 12:39:53AM -0800, David Miller wrote:
> From: Adrian Bunk <bunk@...sta.de>
> Date: Mon, 18 Dec 2006 04:46:26 +0100
>
> > This patch adds proper prototypes for some functions in
> > include/net/irda/irda.h
> >
> > Signed-off-by: Adrian Bunk <bunk@...sta.de>
> ...
> > +struct net_device;
> > +struct packet_type;
> > +
> > +void irda_proc_register(void);
> > +void irda_proc_unregister(void);
> > +
> > +int irda_sysctl_register(void);
> > +void irda_sysctl_unregister(void);
> > +
> > +int irsock_init(void);
> > +void irsock_cleanup(void);
> > +
> > +int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev,
> > + struct packet_type *ptype, struct net_device *orig_dev);
>
> Remind me why you remove the "extern" from "external" function
> declarations all the time?
It's shorter, letting more contents fit into one line.
> I don't like it, even if it's "correct", because it is inconsistent
> with what we do in the entire rest of the networking code.
Good point.
Is it OK to slowly starting converting them or do you want them to stay?
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists