From: ellson Date: Sun, 11 Jun 2006 14:17:45 +0000 (+0000) Subject: remove a debugging fprintf and some redundant #includes X-Git-Tag: LAST_LIBGRAPH~32^2~6458 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=150ee745b5fa5d1542b1a563533bf7441dbd9bcf;p=graphviz remove a debugging fprintf and some redundant #includes --- diff --git a/lib/gvc/gvplugin.h b/lib/gvc/gvplugin.h index d5eecb58d..a579900f8 100644 --- a/lib/gvc/gvplugin.h +++ b/lib/gvc/gvplugin.h @@ -23,7 +23,6 @@ extern "C" { #endif -#include "arith.h" #include "gvcext.h" /* diff --git a/lib/gvc/gvplugin_render.h b/lib/gvc/gvplugin_render.h index 5acac7a14..9d916cb90 100644 --- a/lib/gvc/gvplugin_render.h +++ b/lib/gvc/gvplugin_render.h @@ -19,7 +19,6 @@ #include "gvplugin.h" #include "gvcjob.h" -#include "color.h" #include "textpara.h" #include "usershape.h" diff --git a/plugin/core/gvplugin_core.c b/plugin/core/gvplugin_core.c index 864ce70f3..c6e04bb50 100644 --- a/plugin/core/gvplugin_core.c +++ b/plugin/core/gvplugin_core.c @@ -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 }; diff --git a/plugin/core/gvrender_core_ps.c b/plugin/core/gvrender_core_ps.c index 7f64c5e31..f06806fff 100644 --- a/plugin/core/gvrender_core_ps.c +++ b/plugin/core/gvrender_core_ps.c @@ -18,11 +18,9 @@ #include "config.h" #endif -#include #include #include #include -#include #include #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) diff --git a/plugin/core/gvrender_core_svg.c b/plugin/core/gvrender_core_svg.c index 8c0704068..238936976 100644 --- a/plugin/core/gvrender_core_svg.c +++ b/plugin/core/gvrender_core_svg.c @@ -18,11 +18,9 @@ #include "config.h" #endif -#include #include #include #include -#include #include #ifdef HAVE_LIBZ @@ -34,7 +32,6 @@ #include "macros.h" #include "const.h" -#include "types.h" #include "gvplugin_render.h"