Re: + shut-up-warnings-in-ipc-shmc.patch added to -mm tree
From: Matt Mackall (mpm_at_selenic.com)
Date: 11/24/05
- Previous message: Tejun Heo: "Re: [PATCH linux-2.6-block:post-2.6.15 09/11] blk: implement ide_driver_t->protocol_changed callback"
- In reply to: Muli Ben-Yehuda: "Re: + shut-up-warnings-in-ipc-shmc.patch added to -mm tree"
- Next in thread: Russell King: "Re: + shut-up-warnings-in-ipc-shmc.patch added to -mm tree"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 24 Nov 2005 08:26:12 -0800 To: Muli Ben-Yehuda <mulix@mulix.org>
On Thu, Nov 24, 2005 at 06:07:25PM +0200, Muli Ben-Yehuda wrote:
> On Thu, Nov 24, 2005 at 08:00:12AM -0800, Matt Mackall wrote:
> > If we're going to start converting such things, I'd almost rather do
> > something like:
> >
> > kernel.h:
> > static inline void empty_void(void) {}
> > static inline void empty_int(void) { return 0; }
> ^^^^
>
> surely if it's returning an int it should be declared as
> static inline int empty_int(void) { return 0; }
> ?
Surely.
-- Mathematics is the supreme nostalgia of our time. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Tejun Heo: "Re: [PATCH linux-2.6-block:post-2.6.15 09/11] blk: implement ide_driver_t->protocol_changed callback"
- In reply to: Muli Ben-Yehuda: "Re: + shut-up-warnings-in-ipc-shmc.patch added to -mm tree"
- Next in thread: Russell King: "Re: + shut-up-warnings-in-ipc-shmc.patch added to -mm tree"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|