diff options
Diffstat (limited to 'sim/ppc/misc.h')
-rw-r--r-- | sim/ppc/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/ppc/misc.h b/sim/ppc/misc.h index 041bd6d..50301fd 100644 --- a/sim/ppc/misc.h +++ b/sim/ppc/misc.h @@ -58,6 +58,7 @@ do { \ } while (0) #define ZALLOC(TYPE) (TYPE*)zalloc(sizeof(TYPE)) +#define NZALLOC(TYPE,N) ((TYPE*) zalloc (sizeof(TYPE) * (N))) extern void *zalloc (long size); |