From a976011fcf06c9f15c75eae97665c6171d02c172 Mon Sep 17 00:00:00 2001 From: mellon Date: Wed, 28 Jul 1999 01:59:46 +0000 Subject: [PATCH] - Correct the definition of the COUNT macro so that it takes the same number of arguments when compiled without DIAGNOSTIC as with. --- sys/kern/kern_lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index 5fe95c733cd7..f846f9bfc21a 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_lock.c,v 1.21 1999/07/27 21:29:16 thorpej Exp $ */ +/* $NetBSD: kern_lock.c,v 1.22 1999/07/28 01:59:46 mellon Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -111,7 +111,7 @@ do { \ (p)->p_locks += (x); \ } while (0) #else -#define COUNT(p, x) +#define COUNT(lkp, p, cpu_id, x) #endif /* LOCKDEBUG || DIAGNOSTIC */ /* } */ /*