Re: + shut-up-warnings-in-ipc-shmc.patch added to -mm tree

From: Muli Ben-Yehuda (mulix_at_mulix.org)
Date: 11/24/05

  • Next message: Thomas Hellström: "Re: 2.6.14-rt4: via DRM errors"
    Date:	Thu, 24 Nov 2005 18:07:25 +0200
    To: Matt Mackall <mpm@selenic.com>
    
    

    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; }
    ?

    Cheers,
    Muli

    -- 
    Muli Ben-Yehuda
    http://www.mulix.org | http://mulix.livejournal.com/
    -
    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/
    

  • Next message: Thomas Hellström: "Re: 2.6.14-rt4: via DRM errors"

    Relevant Pages