Make some local functions static.
This commit is contained in:
parent
2613e19eec
commit
eec8d4d1e5
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: platform.c,v 1.4 2005/12/11 12:16:37 christos Exp $ */
|
||||
/* $NetBSD: platform.c,v 1.5 2006/06/25 16:52:01 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: platform.c,v 1.4 2005/12/11 12:16:37 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: platform.c,v 1.5 2006/06/25 16:52:01 tsutsui Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -48,9 +48,9 @@ __KERNEL_RCSID(0, "$NetBSD: platform.c,v 1.4 2005/12/11 12:16:37 christos Exp $"
|
||||
|
||||
struct platform *platform = NULL;
|
||||
|
||||
void print_platform(struct platform *);
|
||||
static void print_platform(struct platform *);
|
||||
|
||||
void
|
||||
static void
|
||||
print_platform(struct platform *p)
|
||||
{
|
||||
printf("\"%s %s%s\" (%s, %s)",
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wired_map_machdep.c,v 1.2 2005/12/11 12:16:37 christos Exp $ */
|
||||
/* $NetBSD: wired_map_machdep.c,v 1.3 2006/06/25 16:52:01 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 2000 Shuichiro URATA. All rights reserved.
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: wired_map_machdep.c,v 1.2 2005/12/11 12:16:37 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: wired_map_machdep.c,v 1.3 2006/06/25 16:52:01 tsutsui Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -41,8 +41,10 @@ __KERNEL_RCSID(0, "$NetBSD: wired_map_machdep.c,v 1.2 2005/12/11 12:16:37 christ
|
||||
#include <mips/locore.h>
|
||||
#include <mips/pte.h>
|
||||
|
||||
boolean_t arc_wired_map_paddr_entry(paddr_t pa, vaddr_t *vap, vsize_t *sizep);
|
||||
boolean_t arc_wired_map_vaddr_entry(vaddr_t va, paddr_t *pap, vsize_t *sizep);
|
||||
static boolean_t arc_wired_map_paddr_entry(paddr_t pa, vaddr_t *vap,
|
||||
vsize_t *sizep);
|
||||
static boolean_t arc_wired_map_vaddr_entry(vaddr_t va, paddr_t *pap,
|
||||
vsize_t *sizep);
|
||||
|
||||
static struct extent *arc_wired_map_ex;
|
||||
static long wired_map_ex_storage[EXTENT_FIXED_STORAGE_SIZE(8) / sizeof(long)];
|
||||
@ -86,7 +88,7 @@ arc_wired_enter_page(vaddr_t va, paddr_t pa, vaddr_t pg_size)
|
||||
mips3_wired_enter_page(va, pa, pg_size);
|
||||
}
|
||||
|
||||
boolean_t
|
||||
static boolean_t
|
||||
arc_wired_map_paddr_entry(paddr_t pa, vaddr_t *vap, vsize_t *sizep)
|
||||
{
|
||||
vsize_t size;
|
||||
@ -113,7 +115,7 @@ arc_wired_map_paddr_entry(paddr_t pa, vaddr_t *vap, vsize_t *sizep)
|
||||
}
|
||||
|
||||
/* XXX: Using tlbp makes this easier... */
|
||||
boolean_t
|
||||
static boolean_t
|
||||
arc_wired_map_vaddr_entry(vaddr_t va, paddr_t *pap, vsize_t *sizep)
|
||||
{
|
||||
vsize_t size;
|
||||
|
Loading…
Reference in New Issue
Block a user