From 888358b23025701d69bc2544899210bd8208a92c Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 1 Jan 2022 17:30:38 +0100 Subject: [PATCH] cgraph: [nfc] align storage-class declarations to Graphviz standard in cgraph.h --- lib/cgraph/cgraph.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cgraph/cgraph.h b/lib/cgraph/cgraph.h index 87936f74a..208037b5b 100644 --- a/lib/cgraph/cgraph.h +++ b/lib/cgraph/cgraph.h @@ -23,7 +23,9 @@ extern "C" { #else #define CGRAPH_API __declspec(dllimport) #endif -#else +#endif + +#ifndef CGRAPH_API #define CGRAPH_API /* nothing */ #endif -- 2.40.0