lkml.org 
[lkml]   [2006]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] make kernel/sysctl.c:_proc_do_string() static
    This patch makes the needlessly global _proc_do_string() static.

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

    --- linux-2.6.17-mm1-full/kernel/sysctl.c.old 2006-06-22 20:50:08.000000000 +0200
    +++ linux-2.6.17-mm1-full/kernel/sysctl.c 2006-06-22 20:50:39.000000000 +0200
    @@ -1706,8 +1706,9 @@
    return do_rw_proc(1, file, (char __user *) buf, count, ppos);
    }

    -int _proc_do_string(void* data, int maxlen, int write, struct file *filp,
    - void __user *buffer, size_t *lenp, loff_t *ppos)
    +static int _proc_do_string(void* data, int maxlen, int write,
    + struct file *filp, void __user *buffer,
    + size_t *lenp, loff_t *ppos)
    {
    size_t len;
    char __user *p;
    -
    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-06-23 13:01    [W:6.206 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site