]> granicus.if.org Git - graphviz/commitdiff
remove unused 'NIL macros
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Dec 2021 04:50:41 +0000 (20:50 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Dec 2021 22:35:57 +0000 (14:35 -0800)
Note that copies of these still exist in the shipped cgraph.h.

lib/cgraph/cghdr.h

index e8974a40b928a81c1cfc2d5bb0c88a6b3023e6e2..76c73912fa5d75aaff0dcb9e0a518f24d2e81f7e 100644 (file)
@@ -44,12 +44,6 @@ static inline bool streq(const char *a, const char *b) {
 
 #define NOTUSED(var)   (void) var
 
-#define NILgraph                       NIL(Agraph_t*)
-#define NILnode                                NIL(Agnode_t*)
-#define NILedge                                NIL(Agedge_t*)
-#define NILsym                         NIL(Agsym_t*)
-#define NILstr                         NIL(char*)
-
 #define        SUCCESS                         0
 #define FAILURE                                -1
 #define LOCALNAMEPREFIX                '%'