diff options
author | phk <phk@FreeBSD.org> | 2002-10-16 08:57:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-16 08:57:14 +0000 |
commit | df5889681215452131c467679cd51691ca09ad66 (patch) | |
tree | 9c37698c5cf0d1845ecfae97b03744f4eb808d41 | |
parent | 32a73ad530917a145974381a8afcf1c282de9687 (diff) | |
download | FreeBSD-src-df5889681215452131c467679cd51691ca09ad66.zip FreeBSD-src-df5889681215452131c467679cd51691ca09ad66.tar.gz |
Be consistent about functions being static.
Spotted by: FlexeLint.
-rw-r--r-- | sys/amd64/amd64/initcpu.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/mptable.c | 2 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 2 | ||||
-rw-r--r-- | sys/i386/apm/apm.c | 2 | ||||
-rw-r--r-- | sys/i386/bios/apm.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/initcpu.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/mp_machdep.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/mptable.c | 2 | ||||
-rw-r--r-- | sys/i386/include/mptable.h | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c index 65464c2..97ce839 100644 --- a/sys/amd64/amd64/initcpu.c +++ b/sys/amd64/amd64/initcpu.c @@ -306,7 +306,7 @@ init_5x86(void) * There are i486 based upgrade products for i386 machines. * In this case, BIOS doesn't enables CPU cache. */ -void +static void init_i486_on_386(void) { u_long eflags; diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 89fbf0e..3de13c0 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -2647,7 +2647,7 @@ ipi_self(u_int ipi) apic_ipi(APIC_DEST_SELF, ipi, APIC_DELMODE_FIXED); } -void +static void release_aps(void *dummy __unused) { diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c index 89fbf0e..3de13c0 100644 --- a/sys/amd64/amd64/mptable.c +++ b/sys/amd64/amd64/mptable.c @@ -2647,7 +2647,7 @@ ipi_self(u_int ipi) apic_ipi(APIC_DEST_SELF, ipi, APIC_DELMODE_FIXED); } -void +static void release_aps(void *dummy __unused) { diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index 89fbf0e..3de13c0 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -2647,7 +2647,7 @@ ipi_self(u_int ipi) apic_ipi(APIC_DEST_SELF, ipi, APIC_DELMODE_FIXED); } -void +static void release_aps(void *dummy __unused) { diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c index 4277432..5279873 100644 --- a/sys/i386/apm/apm.c +++ b/sys/i386/apm/apm.c @@ -533,7 +533,7 @@ apm_suspend(int state) apm_lastreq_notify(); } -void +static void apm_resume(void) { struct apm_softc *sc = &apm_softc; diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index 4277432..5279873 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/apm.c @@ -533,7 +533,7 @@ apm_suspend(int state) apm_lastreq_notify(); } -void +static void apm_resume(void) { struct apm_softc *sc = &apm_softc; diff --git a/sys/i386/i386/initcpu.c b/sys/i386/i386/initcpu.c index 65464c2..97ce839 100644 --- a/sys/i386/i386/initcpu.c +++ b/sys/i386/i386/initcpu.c @@ -306,7 +306,7 @@ init_5x86(void) * There are i486 based upgrade products for i386 machines. * In this case, BIOS doesn't enables CPU cache. */ -void +static void init_i486_on_386(void) { u_long eflags; diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index 89fbf0e..3de13c0 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/mp_machdep.c @@ -2647,7 +2647,7 @@ ipi_self(u_int ipi) apic_ipi(APIC_DEST_SELF, ipi, APIC_DELMODE_FIXED); } -void +static void release_aps(void *dummy __unused) { diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c index 89fbf0e..3de13c0 100644 --- a/sys/i386/i386/mptable.c +++ b/sys/i386/i386/mptable.c @@ -2647,7 +2647,7 @@ ipi_self(u_int ipi) apic_ipi(APIC_DEST_SELF, ipi, APIC_DELMODE_FIXED); } -void +static void release_aps(void *dummy __unused) { diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h index 89fbf0e..3de13c0 100644 --- a/sys/i386/include/mptable.h +++ b/sys/i386/include/mptable.h @@ -2647,7 +2647,7 @@ ipi_self(u_int ipi) apic_ipi(APIC_DEST_SELF, ipi, APIC_DELMODE_FIXED); } -void +static void release_aps(void *dummy __unused) { |