[lkml]   [2014]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 17/21] fs: Mark function as static in proc/array.c
    Mark function as static in proc/array.c because it is not used outside
    this file.

    This eliminates the following warning in proc/array.c:
    fs/proc/array.c:712:5: warning: no previous prototype for ‘children_seq_release’ [-Wmissing-prototypes]

    Signed-off-by: Rashika Kheria <>
    Reviewed-by: Josh Triplett <>
    fs/proc/array.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/fs/proc/array.c b/fs/proc/array.c
    index 656e401..2265b11 100644
    --- a/fs/proc/array.c
    +++ b/fs/proc/array.c
    @@ -699,7 +699,7 @@ static int children_seq_open(struct inode *inode, struct file *file)
    return ret;

    -int children_seq_release(struct inode *inode, struct file *file)
    +static int children_seq_release(struct inode *inode, struct file *file)
    seq_release(inode, file);
    return 0;
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2014-02-09 15:01    [W:7.628 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site