]> granicus.if.org Git - graphviz/commit
common: remove multiple declaration of attach_attrs from utils.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 26 Jul 2021 12:45:15 +0000 (14:45 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 26 Sep 2021 06:36:52 +0000 (08:36 +0200)
commit95bdb78c161cb013e6d27d560a9358cabc23faf2
treee0476c65299432536049cad0de473c187f78bff2
parentabbb903186acc1a0a9e45fda34914e39b9b651f6
common: remove multiple declaration of attach_attrs from utils.h

This function is already declared in the public gvc.h.

Without this change, an upcoming commit that defines GVDLL also for
CMake builds, would cause the following error with native Windows:

C:\Users\magja\graphviz\lib\gvc/gvc.h(75,14): error C2375: 'attach_attrs': redefinition; different linkage [C:\Users\magja\graphviz\build\lib\common\common_obj.vcxproj]
C:\Users\magja\graphviz\lib\common\utils.h(39): message : see declaration of 'attach_attrs' [C:\Users\magja\graphviz\build\lib\common\common_obj.vcxproj]
lib/common/utils.h