lkml.org 
[lkml]   [2006]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] net/dccp/ipv4.c: make struct dccp_v4_prot static
    On Fri, Feb 24, 2006 at 03:10:02AM -0800, Andrew Morton wrote:
    >...
    > Changes since 2.6.16-rc4-mm1:
    >...
    > git-net.patch
    >...
    > git trees.
    >...


    There's no reason for struct dccp_v4_prot being global.


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

    --- linux-2.6.16-rc4-mm2-full/net/dccp/ipv4.c.old 2006-02-25 04:32:45.000000000 +0100
    +++ linux-2.6.16-rc4-mm2-full/net/dccp/ipv4.c 2006-02-25 04:32:53.000000000 +0100
    @@ -1022,7 +1022,7 @@
    .twsk_obj_size = sizeof(struct inet_timewait_sock),
    };

    -struct proto dccp_v4_prot = {
    +static struct proto dccp_v4_prot = {
    .name = "DCCP",
    .owner = THIS_MODULE,
    .close = dccp_close,
    -
    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/

    \
     
     \ /
      Last update: 2006-02-25 14:30    [W:0.023 / U:0.064 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site