]> granicus.if.org Git - graphviz/commit
gvpack: mark 'gvplugin_neato_layout_LTX_library' as having C linkage
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 15 Apr 2022 00:28:00 +0000 (17:28 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 02:12:48 +0000 (19:12 -0700)
commit87399248a60f53c62420b0822c60d58cbf169cf3
tree817b8273197eee991b128eb7d1837e0f19b8fa28
parentd71d74ecd311ffe6e8c6a31fc67d6b5c9f1afd00
gvpack: mark 'gvplugin_neato_layout_LTX_library' as having C linkage

gvpack.c is currently compiled as C, so this symbol already has C linkage by
default. However an upcoming commit converts it to C++, which then results in
link failures due to this defaulting to C++ linkage. To pre-empt that, we note
its linkage explicitly for now. These guards will be removed in a future commit.

Gitlab: #2154
cmd/tools/gvpack.c