diff options
author | bde <bde@FreeBSD.org> | 1995-08-29 03:09:14 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-08-29 03:09:14 +0000 |
commit | 7de347d9158d747729de00b78c07ab7f63a07be9 (patch) | |
tree | d47403b5d77f18a6f99aab1e05abda7d4b441ae4 /sys/kern/subr_prof.c | |
parent | d756607fbe51215041037872388d0b0a17030dcc (diff) | |
download | FreeBSD-src-7de347d9158d747729de00b78c07ab7f63a07be9.zip FreeBSD-src-7de347d9158d747729de00b78c07ab7f63a07be9.tar.gz |
kmstartup had the wrong type and unnecessarily external linkage for a
sysinit function.
subr_prof.c:
Remove useless comment.
Diffstat (limited to 'sys/kern/subr_prof.c')
-rw-r--r-- | sys/kern/subr_prof.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index 56c2a6e..22406c5 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)subr_prof.c 8.3 (Berkeley) 9/23/93 - * $Id: subr_prof.c,v 1.6 1995/03/16 18:12:41 bde Exp $ + * $Id: subr_prof.c,v 1.7 1995/08/28 09:18:46 julian Exp $ */ #include <sys/param.h> @@ -48,21 +48,17 @@ #include <sys/malloc.h> #include <sys/gmon.h> -/* - * System initialization - */ - -extern void kmstartup(); /* should be static*/ +static void kmstartup __P((caddr_t)); SYSINIT(kmem, SI_SUB_KPROF, SI_ORDER_FIRST, kmstartup, NULL) - struct gmonparam _gmonparam = { GMON_PROF_OFF }; extern char btext[]; extern char etext[]; -void -kmstartup() +static void +kmstartup(udata) + caddr_t udata; { char *cp; struct gmonparam *p = &_gmonparam; |