public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: alan@redhat.com
Cc: linux-kernel@vger.kernel.org, James.Bottomley@SteelEye.co,
	linux-scsi@vger.kernel.org
Subject: [2.6 patch] drivers/scsi/atp870u.c: make a function static
Date: Sun, 24 Apr 2005 00:08:18 +0200	[thread overview]
Message-ID: <20050423220817.GF4355@stusta.de> (raw)

This patch makes a needlessly global function static.

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

--- linux-2.6.12-rc2-mm3-full/drivers/scsi/atp870u.c.old	2005-04-23 21:59:28.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/scsi/atp870u.c	2005-04-23 22:00:47.000000000 +0200
@@ -3146,8 +3146,8 @@
 }
 
 #define BLS buffer + len + size
-int atp870u_proc_info(struct Scsi_Host *HBAptr, char *buffer, 
-		      char **start, off_t offset, int length, int inout)
+static int atp870u_proc_info(struct Scsi_Host *HBAptr, char *buffer, 
+			     char **start, off_t offset, int length, int inout)
 {
 	static u8 buff[512];
 	int size = 0;


             reply	other threads:[~2005-04-23 22:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-23 22:08 Adrian Bunk [this message]
2005-04-24  0:14 ` [2.6 patch] drivers/scsi/atp870u.c: make a function static Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050423220817.GF4355@stusta.de \
    --to=bunk@stusta.de \
    --cc=James.Bottomley@SteelEye.co \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox