]> granicus.if.org Git - graphviz/commitdiff
remove a debugging fprintf and some redundant #includes
authorellson <devnull@localhost>
Sun, 11 Jun 2006 14:17:45 +0000 (14:17 +0000)
committerellson <devnull@localhost>
Sun, 11 Jun 2006 14:17:45 +0000 (14:17 +0000)
lib/gvc/gvplugin.h
lib/gvc/gvplugin_render.h
plugin/core/gvplugin_core.c
plugin/core/gvrender_core_ps.c
plugin/core/gvrender_core_svg.c

index d5eecb58d4cc2217e765c5979417d62b94b12421..a579900f819b9f53d1b073e177da9f4c9b98714d 100644 (file)
@@ -23,7 +23,6 @@
 extern "C" {
 #endif
 
-#include "arith.h"
 #include "gvcext.h"
 
 /* 
index 5acac7a14d4978ded6785824a872650422ba21ea..9d916cb90b06a5541aa2be49c569fe1f971c69fc 100644 (file)
@@ -19,7 +19,6 @@
 
 #include "gvplugin.h"
 #include "gvcjob.h"
-#include "color.h"
 #include "textpara.h"
 #include "usershape.h"
 
index 864ce70f3b37176b562afbb5b9bb985164d6c2ad..c6e04bb506257690b2235ef34a00ca72211b7510 100644 (file)
@@ -22,7 +22,7 @@ extern gvplugin_installed_t gvrender_core_svg_types;
 static gvplugin_api_t apis[] = {
 //    {API_render, &gvrender_core_ps_types},
     {API_render, &gvrender_core_svg_types},
-    {(api_t)0, NULL},
+    {(api_t)0, 0},
 };
 
 gvplugin_library_t gvplugin_core_LTX_library = { "core", apis };
index 7f64c5e3147adfc7cb0971c9ad4c72f882d47612..f06806fff8eae6e65e64ed6c594d1f6a0137c41c 100644 (file)
 #include "config.h"
 #endif
 
-#include <stdio.h>
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
-#include <math.h>
 #include <assert.h>
 
 #ifdef HAVE_LIBZ
@@ -34,7 +32,6 @@
 
 #undef HAVE_LIBGD
 
-#include "textpara.h"
 #include "gvplugin_render.h"
 #include "gv_ps.h"
 #include "const.h"
@@ -227,7 +224,6 @@ static void psgen_begin_node(GVJ_t * job)
 
 static void
 psgen_begin_edge(GVJ_t * job)
-                char *headname, long id)
 {
 #if 0
     /* Embed information for Distiller, so it can generate hyperactive PDF  */
@@ -235,9 +231,13 @@ psgen_begin_edge(GVJ_t * job)
 #endif
 }
 
-static void
-psgen_begin_anchor(GVJ_t * job, char *href, char *tooltip, char *target)
+static void psgen_begin_anchor(GVJ_t * job, char *href, char *tooltip, char *target)
 {
+#if 0
+    if (href && href[0]) 
+       fprintf(job->output_file, "[ {Catalog} << /URI << /Base (%s) >> >>\n"
+               "/PUT pdfmark\n", href);
+#endif
 }
 
 static void psgen_end_anchor(GVJ_t * job)
index 8c0704068c6d0b4ef9a8ff2a4835b6c9d7d2de9e..238936976cd41b1e891468a466e48fc15480d42f 100644 (file)
 #include "config.h"
 #endif
 
-#include <stdio.h>
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
-#include <math.h>
 #include <assert.h>
 
 #ifdef HAVE_LIBZ
@@ -34,7 +32,6 @@
 
 #include "macros.h"
 #include "const.h"
-#include "types.h"
 
 #include "gvplugin_render.h"