From f1eeaa902031d6aac565387cdbe72e861e6e17d7 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 1 Feb 2003 18:34:14 +0000 Subject: Only use MALLOC_DECLARE() in kernel namespace. --- sys/dev/raidframe/raidframevar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev/raidframe/raidframevar.h') diff --git a/sys/dev/raidframe/raidframevar.h b/sys/dev/raidframe/raidframevar.h index 06937fd2237..a50fd020617 100644 --- a/sys/dev/raidframe/raidframevar.h +++ b/sys/dev/raidframe/raidframevar.h @@ -1,4 +1,4 @@ -/* $NetBSD: raidframevar.h,v 1.2 2003/02/01 06:23:40 thorpej Exp $ */ +/* $NetBSD: raidframevar.h,v 1.3 2003/02/01 18:34:14 tron Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -164,7 +164,9 @@ typedef u_int64_t RF_uint64; #define RF_FALSE 0 /* Malloc types. */ +#ifdef _KERNEL MALLOC_DECLARE(M_RAIDFRAME); +#endif /* * Now, some generic types -- cgit