Message-ID: <4EBBF1E5.70407@...515...> Date: Thu, 10 Nov 2011 17:46:45 +0200 From: =?ISO-8859-1?Q?Samuli_Sepp=E4nen?= MIME-Version: 1.0 References: <1320074961-3809-1-git-send-email-dejong@...1435...> <1320074961-3809-5-git-send-email-dejong@...1435...> In-Reply-To: <1320074961-3809-5-git-send-email-dejong@...1435...> Subject: Re: [Openvpn-devel] [PATCH 4/8] Reordered functions to ensure warning-free Windows build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable To: Adriaan de Jong Cc: "openvpn-devel@lists.sourceforge.net" > Signed-off-by: Adriaan de Jong > --- > plugin.h | 21 ++++++++++----------- > 1 files changed, 10 insertions(+), 11 deletions(-) >=20 > diff --git a/plugin.h b/plugin.h > index 7aacb47..948ab88 100644 > --- a/plugin.h > +++ b/plugin.h > @@ -122,6 +122,16 @@ void plugin_list_open (struct plugin_list *pl, >=20=20 > struct plugin_list *plugin_list_inherit (const struct plugin_list *src); >=20=20 > +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 > + ); >=20=20 > static inline int > plugin_call(const struct plugin_list *pl, > @@ -137,17 +147,6 @@ plugin_call(const struct plugin_list *pl, > ); > } >=20=20 > -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); >=20=20 Can confirm that Visual Studio/Python build does not give any warnings when this patch is applied. Not sure if that's good enough for an ACK :). --=20 Samuli Sepp=E4nen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock