]> granicus.if.org Git - graphviz/commitdiff
remove unused fix_fc function
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 18 May 2021 00:05:05 +0000 (17:05 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 28 May 2021 03:15:10 +0000 (20:15 -0700)
lib/common/utils.c
lib/common/utils.h
lib/gvc/gvc.def

index 37e1cf3702f566db4c0282c53f7180b2345a971f..252129e4d60db8dfa077e5bc68d7d357b1f016f3 100644 (file)
@@ -1889,24 +1889,6 @@ void gv_nodesize(node_t * n, boolean flip)
     }
 }
 
-#ifdef _WIN32
-void fix_fc(void)
-{
-    char buf[28192];
-    char buf2[28192];
-    int cur=0;
-    FILE* fp;
-
-    if((fp = fopen("fix-fc.exe", "r")) == NULL)
-           return ;
-    fclose (fp);
-    if (!system ("fix-fc.exe")) {
-       system ("del fix-fc.exe");
-       system ("dot -c");      //run dot -c once too since we already run things :)
-    }
-}
-#endif
-
 #ifndef HAVE_DRAND48
 #pragma weak drand48
 double drand48(void)
index b6b7c6f15e6d29c28b4930ebe681141c8339a429..a08ac866dae821c31b3b3c23b36e4be114b9db1a 100644 (file)
@@ -108,10 +108,6 @@ extern "C" {
 Agnodeinfo_t* ninf(Agnode_t* n);
 Agraphinfo_t* ginf(Agraph_t* g);
 Agedgeinfo_t* einf(Agedge_t* e);
-    /**/
-#ifdef _WIN32  
-       extern void fix_fc(void);
-#endif
 
 #undef extern
 
index 6b8834e206ede14f977e79233a2338691f73e613..e4bf34539984ca9fb18c348bf1824e72a126ff58 100644 (file)
@@ -301,7 +301,6 @@ Y_invert
 zmalloc    
 zrealloc    
 colorxlate
-fix_fc
 gvContextPlugins
 gvfwrite
 gvferror