diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 5a368c935a..085c1aa4f3 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2010-12-28 Mike Frysinger + + * hw-alloc.h (HW_NZALLOC): Change ME,TYPE,N to me,type,n. + 2010-12-15 Mike Frysinger * sim-memopt.c (OPTION_MAP_INFO): Define. diff --git a/sim/common/hw-alloc.h b/sim/common/hw-alloc.h index 3fb0380600..699d01722c 100644 --- a/sim/common/hw-alloc.h +++ b/sim/common/hw-alloc.h @@ -33,7 +33,7 @@ along with this program. If not, see . */ #define HW_ZALLOC(me,type) (type*) hw_zalloc (me, sizeof (type)) #define HW_MALLOC(me,type) (type*) hw_malloc (me, sizeof (type)) -#define HW_NZALLOC(ME,TYPE,N) (TYPE*) hw_zalloc (me, sizeof (TYPE) * (N)) +#define HW_NZALLOC(me,type,n) (type*) hw_zalloc (me, sizeof (type) * (n)) extern void *hw_zalloc (struct hw *me, unsigned long size); extern void *hw_malloc (struct hw *me, unsigned long size);