This brings us one step closer to having a single `N_NEW` macro in the tree and
not having to constantly wonder which of the `N_NEW` definitions is in scope at
any point where you see it called.
#include <cgraph/unreachable.h>
#include <cgraph/exit.h>
-#define N_NEW(n,t) gv_calloc((n), sizeof(t))
-
typedef struct {
Agrec_t h;
char cc_subg; /* true iff subgraph corresponds to a component */
static void
printSorted (Agraph_t* root, int c_cnt)
{
- Agraph_t** ccs = N_NEW(c_cnt, Agraph_t*);
+ Agraph_t** ccs = gv_calloc(c_cnt, sizeof(Agraph_t*));
Agraph_t* subg;
int i = 0, endi;