aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_acl.c2
-rw-r--r--sys/kern/kern_conf.c2
-rw-r--r--sys/kern/kern_module.c2
-rw-r--r--sys/kern/subr_acl_posix1e.c2
-rw-r--r--sys/kern/subr_bus.c2
-rw-r--r--sys/kern/subr_disk.c2
-rw-r--r--sys/kern/subr_eventhandler.c2
-rw-r--r--sys/kern/subr_taskqueue.c2
-rw-r--r--sys/kern/tty_pty.c2
-rw-r--r--sys/kern/tty_snoop.c2
-rw-r--r--sys/kern/vfs_acl.c2
-rw-r--r--sys/kern/vfs_cache.c2
12 files changed, 12 insertions, 12 deletions
diff --git a/sys/kern/kern_acl.c b/sys/kern/kern_acl.c
index 3c9eb6e4a37e..0e9fc40acaa2 100644
--- a/sys/kern/kern_acl.c
+++ b/sys/kern/kern_acl.c
@@ -46,7 +46,7 @@
#include <sys/stat.h>
#include <sys/acl.h>
-MALLOC_DEFINE(M_ACL, "acl", "access control list");
+static MALLOC_DEFINE(M_ACL, "acl", "access control list");
static int vacl_set_acl(struct proc *p, struct vnode *vp, acl_type_t type,
struct acl *aclp);
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index c838f17fa96c..8c20321dc1bc 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -49,7 +49,7 @@
struct cdevsw *cdevsw[NUMCDEVSW];
-MALLOC_DEFINE(M_DEVT, "dev_t", "dev_t storage");
+static MALLOC_DEFINE(M_DEVT, "dev_t", "dev_t storage");
/*
* This is the number of hash-buckets. Experiements with 'real-life'
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c
index 46c3d14786f5..aa9ecb6e8e99 100644
--- a/sys/kern/kern_module.c
+++ b/sys/kern/kern_module.c
@@ -37,7 +37,7 @@
#include <sys/linker.h>
#include <sys/proc.h>
-MALLOC_DEFINE(M_MODULE, "module", "module data structures");
+static MALLOC_DEFINE(M_MODULE, "module", "module data structures");
typedef TAILQ_HEAD(, module) modulelist_t;
struct module {
diff --git a/sys/kern/subr_acl_posix1e.c b/sys/kern/subr_acl_posix1e.c
index 3c9eb6e4a37e..0e9fc40acaa2 100644
--- a/sys/kern/subr_acl_posix1e.c
+++ b/sys/kern/subr_acl_posix1e.c
@@ -46,7 +46,7 @@
#include <sys/stat.h>
#include <sys/acl.h>
-MALLOC_DEFINE(M_ACL, "acl", "access control list");
+static MALLOC_DEFINE(M_ACL, "acl", "access control list");
static int vacl_set_acl(struct proc *p, struct vnode *vp, acl_type_t type,
struct acl *aclp);
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index 35f3c979e5bf..a89048a05303 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -41,7 +41,7 @@
#include <sys/rman.h>
#include <machine/stdarg.h> /* for device_printf() */
-MALLOC_DEFINE(M_BUS, "bus", "Bus data structures");
+static MALLOC_DEFINE(M_BUS, "bus", "Bus data structures");
#ifdef BUS_DEBUG
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index 325038c7479c..0b98fea394d3 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -22,7 +22,7 @@
#include <machine/md_var.h>
#include <sys/ctype.h>
-MALLOC_DEFINE(M_DISK, "disk", "disk data");
+static MALLOC_DEFINE(M_DISK, "disk", "disk data");
static d_strategy_t diskstrategy;
static d_open_t diskopen;
diff --git a/sys/kern/subr_eventhandler.c b/sys/kern/subr_eventhandler.c
index e077dffd8a31..417d73e7b621 100644
--- a/sys/kern/subr_eventhandler.c
+++ b/sys/kern/subr_eventhandler.c
@@ -32,7 +32,7 @@
#include <sys/systm.h>
#include <sys/eventhandler.h>
-MALLOC_DEFINE(M_EVENTHANDLER, "eventhandler", "Event handler records");
+static MALLOC_DEFINE(M_EVENTHANDLER, "eventhandler", "Event handler records");
/* List of 'slow' lists */
static TAILQ_HEAD(, eventhandler_list) eventhandler_lists;
diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c
index ba25c7f5f6ee..5afda766d744 100644
--- a/sys/kern/subr_taskqueue.c
+++ b/sys/kern/subr_taskqueue.c
@@ -36,7 +36,7 @@
#include <sys/ipl.h>
#include <sys/malloc.h>
-MALLOC_DEFINE(M_TASKQUEUE, "taskqueue", "Task Queues");
+static MALLOC_DEFINE(M_TASKQUEUE, "taskqueue", "Task Queues");
static STAILQ_HEAD(taskqueue_list, taskqueue) taskqueue_queues;
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index 507a5aab122e..58af6c6a980b 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -54,7 +54,7 @@
#include <sys/signalvar.h>
#include <sys/malloc.h>
-MALLOC_DEFINE(M_PTY, "ptys", "pty data structures");
+static MALLOC_DEFINE(M_PTY, "ptys", "pty data structures");
static void ptsstart __P((struct tty *tp));
static void ptsstop __P((struct tty *tp, int rw));
diff --git a/sys/kern/tty_snoop.c b/sys/kern/tty_snoop.c
index 648a6a5282ca..9950513dbc41 100644
--- a/sys/kern/tty_snoop.c
+++ b/sys/kern/tty_snoop.c
@@ -61,7 +61,7 @@ static struct cdevsw snp_cdevsw = {
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
-MALLOC_DEFINE(M_SNP, "snp", "Snoop device data");
+static MALLOC_DEFINE(M_SNP, "snp", "Snoop device data");
static struct tty *snpdevtotty __P((dev_t dev));
static int snp_detach __P((struct snoop *snp));
diff --git a/sys/kern/vfs_acl.c b/sys/kern/vfs_acl.c
index 3c9eb6e4a37e..0e9fc40acaa2 100644
--- a/sys/kern/vfs_acl.c
+++ b/sys/kern/vfs_acl.c
@@ -46,7 +46,7 @@
#include <sys/stat.h>
#include <sys/acl.h>
-MALLOC_DEFINE(M_ACL, "acl", "access control list");
+static MALLOC_DEFINE(M_ACL, "acl", "access control list");
static int vacl_set_acl(struct proc *p, struct vnode *vp, acl_type_t type,
struct acl *aclp);
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index b405d1419fb3..66575237eba5 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -130,7 +130,7 @@ SYSCTL_OPAQUE(_vfs_cache, OID_AUTO, nchstats, CTLFLAG_RD, &nchstats,
static void cache_zap __P((struct namecache *ncp));
-MALLOC_DEFINE(M_VFSCACHE, "vfscache", "VFS name cache entries");
+static MALLOC_DEFINE(M_VFSCACHE, "vfscache", "VFS name cache entries");
/*
* Flags in namecache.nc_flag