[2.6 patch] efs: make a struct static

From: Adrian Bunk (bunk_at_stusta.de)
Date: 10/30/04

  • Next message: Jon Smirl: "Re: Re: HARDWARE: Open-Source-Friendly Graphics Cards -- Viable?]"
    Date:	Sat, 30 Oct 2004 19:56:36 +0200
    To: linux-kernel@vger.kernel.org
    
    

    The patch below makes a struct in the efs code static.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.10-rc1-mm2-full/include/linux/efs_vh.h.old 2004-10-30 14:03:58.000000000 +0200
    +++ linux-2.6.10-rc1-mm2-full/include/linux/efs_vh.h 2004-10-30 14:04:13.000000000 +0200
    @@ -44,7 +44,7 @@
     #define SGI_EFS 0x07
     #define IS_EFS(x) (((x) == SGI_EFS) || ((x) == SGI_SYSV))
     
    -struct pt_types {
    +static struct pt_types {
             int pt_type;
             char *pt_name;
     } sgi_pt_types[] = {

    -
    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: Jon Smirl: "Re: Re: HARDWARE: Open-Source-Friendly Graphics Cards -- Viable?]"

    Relevant Pages

    • [2.6 patch] binfmt_script.c: make struct script_format static
      ... The patch below makes struct script_format in fs/binfmt_script.c static. ... +static struct linux_binfmt script_format = { ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [2.6 patch] kernel/resource.c: make resource_op static
      ... The patch below makes resource_op static. ... +static struct seq_operations resource_op = { ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [2.6 patch] parport/share.c: proper externs
      ... This patch adds proper externs for parport_default_timeslice and ... static struct parport_default_sysctl_table ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [PATCH] xip: fix get_zeroed_page with __GFP_HIGHMEM
      ... (This patch is only compile tested) ... static struct page *xip_sparse_page ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [2.6 patch] kernel/resource.c: make resource_op static
      ... This patch makes resource_op static. ... +static struct seq_operations resource_op = { ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)