aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-09-09 18:10:37 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-09-09 18:10:37 +0000
commit4590fd3a2a5539b8a1ce2ad488707123c8b7c8c8 (patch)
tree5c5482fdb7693aa63c9bbb6d03a18f671dc76e7a /sys/kern/kern_malloc.c
parentb1926d59c97b2d912be723280dded871c0e8d8c2 (diff)
downloadsrc-4590fd3a2a5539b8a1ce2ad488707123c8b7c8c8.tar.gz
src-4590fd3a2a5539b8a1ce2ad488707123c8b7c8c8.zip
Fixed init functions argument type - caddr_t -> void *. Fixed a couple of
compiler warnings.
Notes
Notes: svn path=/head/; revision=10653
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r--sys/kern/kern_malloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index 52c95c5228ea..dba7930661b7 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)kern_malloc.c 8.3 (Berkeley) 1/4/94
- * $Id: kern_malloc.c,v 1.12 1995/05/30 08:05:33 rgrimes Exp $
+ * $Id: kern_malloc.c,v 1.13 1995/08/28 09:18:44 julian Exp $
*/
#include <sys/param.h>
@@ -47,7 +47,7 @@
* System initialization
*/
-static void kmeminit __P((caddr_t));
+static void kmeminit __P((void *));
SYSINIT(kmem, SI_SUB_KMEM, SI_ORDER_FIRST, kmeminit, NULL)
@@ -366,8 +366,8 @@ free(addr, type)
*/
/* ARGSUSED*/
static void
-kmeminit( udata)
-caddr_t udata; /* not used*/
+kmeminit(udata)
+ void *udata; /* not used*/
{
register long indx;
int npg;