X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=sim%2Fppc%2Fmisc.h;h=232f2eaacd0144460ac1b6e2fc591eb57dcc5890;hb=f5df0b5f0874598790a60f1462f67887868bd77f;hp=041bd6d2cacf0addb8561d0646580defcb111f55;hpb=8b0b198558d0fc981f129e2e3dcbe00a0f308449;p=deliverable%2Fbinutils-gdb.git
diff --git a/sim/ppc/misc.h b/sim/ppc/misc.h
index 041bd6d2ca..232f2eaacd 100644
--- a/sim/ppc/misc.h
+++ b/sim/ppc/misc.h
@@ -4,7 +4,7 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -13,15 +13,14 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, see .
*/
/* Frustrating header junk */
-#include "config.h"
+#include "build-config.h"
#include
#include
@@ -58,6 +57,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);