The bug in uncrustify 0.64 is no longer causing us issues as we now
require at least v0.72.
This workaround was added as part of the initial reformat-all inclusion,
in commit
2417d55c4945d491e.
Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20220420121322.42732-1-openvpn@sf.lists.topphemmelig.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24122.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
+++ /dev/null
-diff --git a/include/openvpn-plugin.h.in b/include/openvpn-plugin.h.in
-index 05bffab..05b4b6a 100644
---- a/include/openvpn-plugin.h.in
-+++ b/include/openvpn-plugin.h.in
-@@ -169,7 +169,7 @@ typedef void *openvpn_plugin_handle_t;
- /*
- * We are compiling OpenVPN.
- */
--/* #define OPENVPN_PLUGIN_DEF typedef */
-+#define OPENVPN_PLUGIN_DEF typedef
- #define OPENVPN_PLUGIN_FUNC(name) (*name)
-
- #else /* ifdef OPENVPN_PLUGIN_H */
+++ /dev/null
-diff --git a/include/openvpn-plugin.h.in b/include/openvpn-plugin.h.in
-index 34ad18b..f4c5472 100644
---- a/include/openvpn-plugin.h.in
-+++ b/include/openvpn-plugin.h.in
-@@ -169,7 +169,7 @@ typedef void *openvpn_plugin_handle_t;
- /*
- * We are compiling OpenVPN.
- */
--#define OPENVPN_PLUGIN_DEF typedef
-+// #define OPENVPN_PLUGIN_DEF typedef
- #define OPENVPN_PLUGIN_FUNC(name) (*name)
-
- #else
E:doc/doxygen/doc_key_generation.h # @verbatim section gets mistreated, exclude it
E:src/compat/compat-lz4.c # Preserve LZ4 upstream formatting
E:src/compat/compat-lz4.h # Preserve LZ4 upstream formatting
-P:include/openvpn-plugin.h.in # uncrustify segfaults, patch it before+after