lkml.org 
[lkml]   [2007]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] drivers/scsi/constants.c: make 2 functions static
    On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote:
    >...
    > Changes since 2.6.21-rc3-mm1:
    >...
    > git-scsi-misc.patch
    >...
    > git trees
    >...


    This patch makes two needlessly global functions static.

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

    ---

    drivers/scsi/constants.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    --- linux-2.6.21-rc4-mm1/drivers/scsi/constants.c.old 2007-03-23 23:26:39.000000000 +0100
    +++ linux-2.6.21-rc4-mm1/drivers/scsi/constants.c 2007-03-23 23:26:55.000000000 +0100
    @@ -1235,7 +1235,7 @@
    }
    EXPORT_SYMBOL(scsi_print_sense_hdr);

    -void
    +static void
    scsi_decode_sense_buffer(const unsigned char *sense_buffer, int sense_len,
    struct scsi_sense_hdr *sshdr)
    {
    @@ -1258,7 +1258,7 @@
    }
    }

    -void
    +static void
    scsi_decode_sense_extras(const unsigned char *sense_buffer, int sense_len,
    struct scsi_sense_hdr *sshdr)
    {
    -
    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: 2007-03-24 14:11    [W:0.021 / U:0.592 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site