From: Erwin Janssen Date: Wed, 4 Jan 2017 23:20:03 +0000 (+0100) Subject: Remove declaration enqueue_neighbors from render.h X-Git-Tag: 2.42.0~213^2~4^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f07a3079e617f9d070f936be23c1817f78bbb6f;p=graphviz Remove declaration enqueue_neighbors from render.h The function `enqueue_neighbors` is declared in both render.h and in dotprocs.h, while it is only used in lib/dotgen. The double declaration causes "inconstant dll linkage" warnings on Windows. --- diff --git a/lib/common/render.h b/lib/common/render.h index 61f40010b..5190494e9 100644 --- a/lib/common/render.h +++ b/lib/common/render.h @@ -107,7 +107,6 @@ extern "C" { extern int emit_once(char *message); extern void emit_jobs_eof(GVC_t * gvc); extern void emit_map_rect(GVJ_t *job, boxf b); - extern void enqueue_neighbors(nodequeue *, Agnode_t *, int); extern void endpath(path *, Agedge_t *, int, pathend_t *, boolean); extern void epsf_init(node_t * n); extern void epsf_free(node_t * n);