From: Adriaan de Jong Date: Mon, 31 Oct 2011 15:29:17 +0000 (+0100) Subject: Reordered functions to ensure warning-free Windows build X-Git-Tag: v2.3-alpha1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ac7170d0a4b0bb8dadccf98795bba0e0f27d767;p=thirdparty%2Fopenvpn.git Reordered functions to ensure warning-free Windows build Signed-off-by: Adriaan de Jong Acked-by: Samuli Seppänen Signed-off-by: David Sommerseth --- diff --git a/plugin.h b/plugin.h index 7aacb477a..948ab88d5 100644 --- a/plugin.h +++ b/plugin.h @@ -122,6 +122,16 @@ void plugin_list_open (struct plugin_list *pl, struct plugin_list *plugin_list_inherit (const struct plugin_list *src); +int plugin_call_ssl (const struct plugin_list *pl, + const int type, + const struct argv *av, + struct plugin_return *pr, + struct env_set *es +#ifdef USE_SSL + , int current_cert_depth, + x509_cert_t *current_cert +#endif + ); static inline int plugin_call(const struct plugin_list *pl, @@ -137,17 +147,6 @@ plugin_call(const struct plugin_list *pl, ); } -int plugin_call_ssl (const struct plugin_list *pl, - const int type, - const struct argv *av, - struct plugin_return *pr, - struct env_set *es -#ifdef USE_SSL - , int current_cert_depth, - x509_cert_t *current_cert -#endif - ); - void plugin_list_close (struct plugin_list *pl); bool plugin_defined (const struct plugin_list *pl, const int type);