summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-11-26 18:50:24 +0000
committereivind <eivind@FreeBSD.org>1998-11-26 18:50:24 +0000
commit3cf3a6389ea31d2b7253bde48d67ca97a35f28ab (patch)
treef85eb015f64d97d6dd3fd97bd800aca17431043d /sys
parent8fdbb5fce3dcffafe4407722bf38a7a0d32dee3b (diff)
downloadFreeBSD-src-3cf3a6389ea31d2b7253bde48d67ca97a35f28ab.zip
FreeBSD-src-3cf3a6389ea31d2b7253bde48d67ca97a35f28ab.tar.gz
Staticize.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/machdep.c6
-rw-r--r--sys/amd64/amd64/mp_machdep.c6
-rw-r--r--sys/amd64/amd64/mptable.c6
-rw-r--r--sys/amd64/include/mptable.h6
-rw-r--r--sys/i386/i386/machdep.c6
-rw-r--r--sys/i386/i386/mp_machdep.c6
-rw-r--r--sys/i386/i386/mptable.c6
-rw-r--r--sys/i386/include/mptable.h6
-rw-r--r--sys/kern/kern_lock.c4
-rw-r--r--sys/kern/subr_smp.c6
-rw-r--r--sys/miscfs/devfs/devfs_tree.c4
-rw-r--r--sys/netatalk/at_rmx.c4
12 files changed, 33 insertions, 33 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index faa7707..e65e37b 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.314 1998/10/30 05:41:14 msmith Exp $
+ * $Id: machdep.c,v 1.315 1998/11/03 21:07:50 msmith Exp $
*/
#include "apm.h"
@@ -159,9 +159,9 @@ SYSCTL_INT(_debug, OID_AUTO, tlb_flush_count,
#endif
#ifdef PC98
-int ispc98 = 1;
+static int ispc98 = 1;
#else
-int ispc98 = 0;
+static int ispc98 = 0;
#endif
SYSCTL_INT(_machdep, OID_AUTO, ispc98, CTLFLAG_RD, &ispc98, 0, "");
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index adf5131..0575e03 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c
index adf5131..0575e03 100644
--- a/sys/amd64/amd64/mptable.c
+++ b/sys/amd64/amd64/mptable.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h
index adf5131..0575e03 100644
--- a/sys/amd64/include/mptable.h
+++ b/sys/amd64/include/mptable.h
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index faa7707..e65e37b 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.314 1998/10/30 05:41:14 msmith Exp $
+ * $Id: machdep.c,v 1.315 1998/11/03 21:07:50 msmith Exp $
*/
#include "apm.h"
@@ -159,9 +159,9 @@ SYSCTL_INT(_debug, OID_AUTO, tlb_flush_count,
#endif
#ifdef PC98
-int ispc98 = 1;
+static int ispc98 = 1;
#else
-int ispc98 = 0;
+static int ispc98 = 0;
#endif
SYSCTL_INT(_machdep, OID_AUTO, ispc98, CTLFLAG_RD, &ispc98, 0, "");
diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c
index adf5131..0575e03 100644
--- a/sys/i386/i386/mp_machdep.c
+++ b/sys/i386/i386/mp_machdep.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c
index adf5131..0575e03 100644
--- a/sys/i386/i386/mptable.c
+++ b/sys/i386/i386/mptable.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h
index adf5131..0575e03 100644
--- a/sys/i386/include/mptable.h
+++ b/sys/i386/include/mptable.h
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index 65a84ea..f411f14 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -38,7 +38,7 @@
* SUCH DAMAGE.
*
* @(#)kern_lock.c 8.18 (Berkeley) 5/21/95
- * $Id: kern_lock.c,v 1.18 1998/03/07 19:25:34 dyson Exp $
+ * $Id: kern_lock.c,v 1.19 1998/04/17 04:53:44 bde Exp $
*/
#include "opt_lint.h"
@@ -504,7 +504,7 @@ lockmgr_printinfo(lkp)
static int lockpausetime = 0;
SYSCTL_INT(_debug, OID_AUTO, lockpausetime, CTLFLAG_RW, &lockpausetime, 0, "");
-int simplelockrecurse;
+static int simplelockrecurse;
/*
* Simple lock functions so that the debugger can see from whence
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index adf5131..0575e03 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.82 1998/10/10 09:38:02 kato Exp $
+ * $Id: mp_machdep.c,v 1.83 1998/10/10 13:37:16 kato Exp $
*/
#include "opt_smp.h"
@@ -2183,12 +2183,12 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
&forward_irq_enabled, 0, "");
/* Enable forwarding of a signal to a process running on a different CPU */
-int forward_signal_enabled = 1;
+static int forward_signal_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_signal_enabled, CTLFLAG_RW,
&forward_signal_enabled, 0, "");
/* Enable forwarding of roundrobin to all other cpus */
-int forward_roundrobin_enabled = 1;
+static int forward_roundrobin_enabled = 1;
SYSCTL_INT(_machdep, OID_AUTO, forward_roundrobin_enabled, CTLFLAG_RW,
&forward_roundrobin_enabled, 0, "");
diff --git a/sys/miscfs/devfs/devfs_tree.c b/sys/miscfs/devfs/devfs_tree.c
index c43a011..9691537 100644
--- a/sys/miscfs/devfs/devfs_tree.c
+++ b/sys/miscfs/devfs/devfs_tree.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: devfs_tree.c,v 1.55 1998/07/04 22:30:22 julian Exp $
+ * $Id: devfs_tree.c,v 1.56 1998/07/05 23:10:21 julian Exp $
*/
@@ -56,7 +56,7 @@ static MALLOC_DEFINE(M_DEVFSNODE, "DEVFS node", "DEVFS node");
static MALLOC_DEFINE(M_DEVFSNAME, "DEVFS name", "DEVFS name");
devnm_p dev_root; /* root of the backing tree */
-struct mount *devfs_hidden_mount;
+static struct mount *devfs_hidden_mount;
int devfs_up_and_going;
/*
diff --git a/sys/netatalk/at_rmx.c b/sys/netatalk/at_rmx.c
index 556c1c2..cc49d7f 100644
--- a/sys/netatalk/at_rmx.c
+++ b/sys/netatalk/at_rmx.c
@@ -39,7 +39,7 @@
static char hexbuf[256];
-char *
+static char *
prsockaddr(void *v)
{
char *bp = &hexbuf[0];
@@ -132,7 +132,7 @@ at_delroute(void *v_arg, void *netmask_arg, struct radix_node_head *head)
/*
* Initialize our routing tree with debugging hooks.
*/
-int
+static int
at_inithead(void **head, int off)
{
struct radix_node_head *rnh;
OpenPOWER on IntegriCloud