summaryrefslogtreecommitdiffstats
path: root/sys/pci/ncr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-16 09:04:52 +0000
committerphk <phk@FreeBSD.org>2002-10-16 09:04:52 +0000
commit1e787bca2f97d645e613fe156e3b05affdc92131 (patch)
tree00233a07b889d316593cd1c40daf87f7c7147ad9 /sys/pci/ncr.c
parent76c09c025383a07b70a19a5da1c07bd97c727209 (diff)
downloadFreeBSD-src-1e787bca2f97d645e613fe156e3b05affdc92131.zip
FreeBSD-src-1e787bca2f97d645e613fe156e3b05affdc92131.tar.gz
Be consistent about functions being static.
Spotted by: FlexeLint.
Diffstat (limited to 'sys/pci/ncr.c')
-rw-r--r--sys/pci/ncr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 49154fe..ad29859 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -2927,7 +2927,7 @@ static struct scripth scripth0 = {
**==========================================================
*/
-void ncr_script_fill (struct script * scr, struct scripth * scrh)
+static void ncr_script_fill (struct script * scr, struct scripth * scrh)
{
int i;
ncrcmd *p;
@@ -4418,7 +4418,7 @@ ncr_action (struct cam_sim *sim, union ccb *ccb)
**==========================================================
*/
-void
+static void
ncr_complete (ncb_p np, nccb_p cp)
{
union ccb *ccb;
@@ -4590,7 +4590,7 @@ ncr_complete (ncb_p np, nccb_p cp)
**==========================================================
*/
-void
+static void
ncr_wakeup (ncb_p np, u_long code)
{
/*
@@ -4720,7 +4720,7 @@ ncr_freeze_devq (ncb_p np, struct cam_path *path)
**==========================================================
*/
-void
+static void
ncr_init(ncb_p np, char * msg, u_long code)
{
int i;
@@ -5282,7 +5282,7 @@ static void ncr_log_hard_error(ncb_p np, u_short sist, u_char dstat)
**==========================================================
*/
-void ncr_exception (ncb_p np)
+static void ncr_exception (ncb_p np)
{
u_char istat, dstat;
u_short sist;
@@ -5581,7 +5581,7 @@ void ncr_exception (ncb_p np)
**----------------------------------------------------------
*/
-void ncr_int_sto (ncb_p np)
+static void ncr_int_sto (ncb_p np)
{
u_long dsa, scratcha, diff;
nccb_p cp;
@@ -5849,7 +5849,7 @@ static int ncr_show_msg (u_char * msg)
return (1);
}
-void ncr_int_sir (ncb_p np)
+static void ncr_int_sir (ncb_p np)
{
u_char scntl3;
u_char chg, ofs, per, fak, wide;
@@ -6458,7 +6458,7 @@ static nccb_p ncr_get_nccb
**==========================================================
*/
-void ncr_free_nccb (ncb_p np, nccb_p cp)
+static void ncr_free_nccb (ncb_p np, nccb_p cp)
{
/*
** sanity
OpenPOWER on IntegriCloud