]> granicus.if.org Git - graphviz/commitdiff
common: remove now unused 'N_GGNEW'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 4 Sep 2022 19:37:40 +0000 (12:37 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 5 Sep 2022 22:27:17 +0000 (15:27 -0700)
lib/common/memory.h

index 459f1928c004683a4434ed73a0c17aeb8812af8b..06a6b47de4b4da01bcd185cce42ed8874d07f03f 100644 (file)
@@ -21,7 +21,6 @@ extern "C" {
 #define GNEW(t)          (t*)gmalloc(sizeof(t))
 
 #define N_GNEW(n,t)      (t*)gcalloc((n),sizeof(t))
-#define N_GGNEW(n,t)      (t*)calloc((n),sizeof(t))
 #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type)))
 #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type)))
 #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type)))