summaryrefslogtreecommitdiffstats
path: root/sys/dev/sym
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-16 08:48:39 +0000
committerphk <phk@FreeBSD.org>2002-10-16 08:48:39 +0000
commit32a73ad530917a145974381a8afcf1c282de9687 (patch)
tree89ff719c9c7ae5edd6c20e1323063539f8428e22 /sys/dev/sym
parent11d2dcbede9e1dd071a38a4d5e23bde0d7d39b6c (diff)
downloadFreeBSD-src-32a73ad530917a145974381a8afcf1c282de9687.zip
FreeBSD-src-32a73ad530917a145974381a8afcf1c282de9687.tar.gz
Be consistent about functions being static.
Spotted by: FlexeLint.
Diffstat (limited to 'sys/dev/sym')
-rw-r--r--sys/dev/sym/sym_hipd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c
index d1671cb..31e8b9c 100644
--- a/sys/dev/sym/sym_hipd.c
+++ b/sys/dev/sym/sym_hipd.c
@@ -4305,7 +4305,7 @@ reset_all:
/*
* chip exception handler for selection timeout
*/
-void sym_int_sto (hcb_p np)
+static void sym_int_sto (hcb_p np)
{
u32 dsp = INL (nc_dsp);
@@ -4320,7 +4320,7 @@ void sym_int_sto (hcb_p np)
/*
* chip exception handler for unexpected disconnect
*/
-void sym_int_udc (hcb_p np)
+static void sym_int_udc (hcb_p np)
{
printf ("%s: unexpected disconnect\n", sym_name(np));
sym_recover_scsi_int(np, HS_UNEXPECTED);
@@ -6259,7 +6259,7 @@ static void sym_nego_rejected(hcb_p np, tcb_p tp, ccb_p cp)
/*
* chip exception handler for programmed interrupts.
*/
-void sym_int_sir (hcb_p np)
+static void sym_int_sir (hcb_p np)
{
u_char num = INB (nc_dsps);
u32 dsa = INL (nc_dsa);
@@ -9622,7 +9622,7 @@ static void sym_pci_free(hcb_p np)
/*
* Allocate CAM resources and register a bus to CAM.
*/
-int sym_cam_attach(hcb_p np)
+static int sym_cam_attach(hcb_p np)
{
struct cam_devq *devq = 0;
struct cam_sim *sim = 0;
@@ -9730,7 +9730,7 @@ fail:
/*
* Free everything that deals with CAM.
*/
-void sym_cam_free(hcb_p np)
+static void sym_cam_free(hcb_p np)
{
#ifdef FreeBSD_Bus_Io_Abstraction
if (np->intr)
@@ -9953,7 +9953,7 @@ static int sym_read_Symbios_nvram (hcb_p np, Symbios_nvram *nvram);
static int sym_read_Tekram_nvram (hcb_p np, Tekram_nvram *nvram);
#endif
-int sym_read_nvram(hcb_p np, struct sym_nvram *nvp)
+static int sym_read_nvram(hcb_p np, struct sym_nvram *nvp)
{
#ifdef SYM_CONF_NVRAM_SUPPORT
/*
OpenPOWER on IntegriCloud