]> granicus.if.org Git - graphviz/commitdiff
plugin/gd: remove duplicate definition of Bezier in gvrender_gd_vrml.c
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 1 Aug 2021 20:57:20 +0000 (22:57 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 4 Jan 2022 21:41:14 +0000 (22:41 +0100)
Removes this warning:

C:\Users\magja\graphviz\plugin\gd\gvrender_gd_vrml.c(41,86): warning C4273: 'Bezier': inconsistent dll linkage [C:\Users\magja\graphviz\plugin\gd\gvplugin_gd.vcxproj]

plugin/gd/gvrender_gd_vrml.c

index 0fa347aa182ec01f7a8532097ce645523db28b7e..f5f8d84e0d8efa1978a052c5874c203354ab92de 100644 (file)
@@ -37,8 +37,6 @@
 /* for wind() */
 #include <pathplan/pathutil.h>
 
-extern pointf Bezier(pointf * V, int degree, double t, pointf * Left, pointf * Right);
-
 typedef enum { FORMAT_VRML, } format_type;
 
 #define BEZIERSUBDIVISION 10