Staticize.
This commit is contained in:
parent
e7414d1bfa
commit
9fcdafaefc
@ -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, "");
|
||||
|
||||
|
@ -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, "");
|
||||
|
||||
|
@ -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, "");
|
||||
|
||||
|
@ -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, "");
|
||||
|
||||
|
@ -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, "");
|
||||
|
||||
|
@ -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, "");
|
||||
|
||||
|
@ -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, "");
|
||||
|
||||
|
@ -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, "");
|
||||
|
||||
|
@ -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
|
||||
|
@ -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, "");
|
||||
|
||||
|
@ -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;
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user