mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 20:03:13 +02:00
2417d55c49
This script will run all files related to the currently checked out git branch through uncrustify using a standardized style configuration. Due to a bug in uncrustify 0.64, it is needed to add a special treatment to one of the files at the moment. So this both pre- and post-patched before/after uncrustify is run. This is to simply to assure that all file processing will happen consistently each time. Also added doc/doxygen/doc_key_generation.h to an ignore list, as it carries some specific Doxygen formatting we should be careful with. This file is anyhow not so critical and can be managed manually. The src/compat/compat-lz4.[ch] files are also not touched, as they are based on upstream formatting. This makes it easier to update to a newer LZ4 version later on and even see what the differences are. v2 - Include updated config from CodeStyle wiki page Remove line lenght restriction for The Great Reformatting Update the script with improvements by krzee v3 - Update with a fixed config from the CodeStyle wiki page Corrected a typo in the commit message (0.63->0.64) Minor changes to the reformat script (no pushd/popd, some new lines moved around, bash->sh) Signed-off-by: David Sommerseth <davids@openvpn.net> Acked-by: Steffan Karger <steffan@karger.me> Message-Id: <1481749500-8795-1-git-send-email-davids@openvpn.net> URL: http://www.mail-archive.com/search?l=mid&q=1481749500-8795-1-git-send-email-davids@openvpn.net
14 lines
407 B
Diff
14 lines
407 B
Diff
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
|