cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/886?usp=email )
Change subject: add missing (void) to win32 function declarations ...................................................................... add missing (void) to win32 function declarations mingw complains about "old-style function definition" and since we use explicit (void) everyhwere else... Change-Id: I59e34058d6e0611208767fbcf39d1b91784ebcf9 Signed-off-by: Gert Doering <[email protected]> Acked-by: Frank Lichtenheld <[email protected]> Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg30813.html Signed-off-by: Gert Doering <[email protected]> --- M src/openvpn/dco_win.c M src/openvpn/error.c 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openvpn/dco_win.c b/src/openvpn/dco_win.c index 46b2d03..62d7109 100644 --- a/src/openvpn/dco_win.c +++ b/src/openvpn/dco_win.c @@ -502,7 +502,7 @@ } const char * -dco_get_supported_ciphers() +dco_get_supported_ciphers(void) { /* * this API can be called either from user mode or kernel mode, diff --git a/src/openvpn/error.c b/src/openvpn/error.c index ec65d5e..d5bb802 100644 --- a/src/openvpn/error.c +++ b/src/openvpn/error.c @@ -505,7 +505,7 @@ static int orig_stderr; int -get_orig_stderr() +get_orig_stderr(void) { return orig_stderr ? orig_stderr : _fileno(stderr); } -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/886?usp=email To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I59e34058d6e0611208767fbcf39d1b91784ebcf9 Gerrit-Change-Number: 886 Gerrit-PatchSet: 2 Gerrit-Owner: cron2 <[email protected]> Gerrit-Reviewer: flichtenheld <[email protected]> Gerrit-Reviewer: plaisthos <[email protected]> Gerrit-CC: openvpn-devel <[email protected]> Gerrit-MessageType: merged
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
