]> granicus.if.org Git - graphviz/commitdiff
gvpack: remove '__cplusplus' guards
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 15 Apr 2022 04:47:23 +0000 (21:47 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 02:12:49 +0000 (19:12 -0700)
Now that this code has made the C→C++ transition, we can drop the conditionals
around this linkage specification.

cmd/tools/gvpack.cpp

index 0dbecce43e7eb9eb5ac3681c6a4472506b979a02..3870445237fa17f0615cb366c074da42e548d60f 100644 (file)
 #include <pack/pack.h>
 #include <stddef.h>
 
-#ifdef __cplusplus
 extern "C" {
-#endif
-
 #ifdef GVDLL
   __declspec(dllimport)
 #endif
 extern gvplugin_library_t gvplugin_neato_layout_LTX_library;
-
-#ifdef __cplusplus
 }
-#endif
 
 lt_symlist_t lt_preloaded_symbols[] = {
 #ifdef GVDLL