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

From: Matt Mackall (mpm_at_selenic.com)
Date: 11/24/05

  • Next message: Miklos Szeredi: "Re: [PATCH 2/2] shared mounts: save mount flag space"
    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/
    

  • Next message: Miklos Szeredi: "Re: [PATCH 2/2] shared mounts: save mount flag space"

    Relevant Pages

    • [REPOST] Multi-thread corefiles broken since April
      ... int main{const static int tcount = 5; pthread_t thr; int i; ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: double to int weirdness
      ... Converting a double to int by doing h=in the below code ... For example, if you were writing C, you would not only make a function of this, and include standard headers, but you would use printf formats which agree with the data types. ... There must be several relevant topics in the FAQ, but you don't reveal which you considered. ...
      (comp.lang.c)
    • Re: [patch 10/12] arch/i386/math-emu/* - compile warning cleanup
      ... We made some changes like this in there a while back, and things broke ... > int i, regnr; ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [PATCH] Switch therm_adt746x to new module_param
      ... > suggested parameter value. ... +module_param(limit_adjust, int, 0644); ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: Why is kmem_bufctl_t different across platforms?
      ... Kyle Moffett wrote: ... and sometimes as an int. ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)