]> granicus.if.org Git - graphviz/commitdiff
tred: remove unused unistd.h #include
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 3 Apr 2022 16:06:13 +0000 (09:06 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 8 Apr 2022 01:45:13 +0000 (18:45 -0700)
Gitlab: #2204

cmd/tools/tred.c

index 0332b15b9f29fd36236cd464cfe30e3be30095d4..3876e1500e3c9103698bd3564e70931ca492520d 100644 (file)
@@ -17,8 +17,6 @@
  * transitive reduction on stdout
  */
 
-#include "config.h"
-
 #include <cgraph/cgraph.h>
 #include <cgraph/exit.h>
 #include <common/arith.h>
@@ -38,9 +36,6 @@ typedef struct {
 #define DISTANCE(ninfo,n) (ninfo[AGSEQ(n)].dist)
 #define agrootof(n) ((n)->root)
 
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
 #include <ingraphs/ingraphs.h>
 
 #include <getopt.h>