Change in openvpn[master]: add more (void) to windows specific function prototypes and declarations
A message that is not in the archive (sent off-list or not yet received): gerrit.1739948782000.I1a9738ad73c79661a8beb4d9881eba0b4d3aea53@...2715...
Attention is currently required from: flichtenheld, plaisthos.
Hello plaisthos, flichtenheld,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/899?usp=email
to review the following change.
Change subject: add more (void) to windows specific function prototypes and declarations
......................................................................
add more (void) to windows specific function prototypes and declarations
---
M src/openvpn/win32.c
M src/openvpnserv/common.c
M src/openvpnserv/service.c
M src/openvpnserv/service.h
4 files changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/99/899/1
src/openvpn/win32.c +2 -2
@@ -103,7 +103,7 @@* Set OpenSSL environment variables to a safe directory */ static void -set_openssl_env_vars (); +set_openssl_env_vars (void );void init_win32 (void )
@@ -1518,7 +1518,7 @@ }static void -set_openssl_env_vars () +set_openssl_env_vars (void ) {const WCHAR *ssl_fallback_dir =L"C:\\Windows\\System32" ;
src/openvpnserv/common.c +1 -1
@@ -181,7 +181,7 @@LPCTSTR -GetLastErrorText () +GetLastErrorText (void ) {DWORD error;static TCHAR buf[256 ];
src/openvpnserv/service.c +2 -2
@@ -54,7 +54,7 @@ }static int -CmdInstallServices () +CmdInstallServices (void ) {SC_HANDLE service;SC_HANDLE svc_ctl_mgr;
@@ -146,7 +146,7 @@static int -CmdRemoveServices () +CmdRemoveServices (void ) {SC_HANDLE service;SC_HANDLE svc_ctl_mgr;
src/openvpnserv/service.h +1 -1
@@ -86,7 +86,7 @@BOOL ReportStatusToSCMgr (SERVICE_STATUS_HANDLE service,SERVICE_STATUS *status); -LPCTSTR GetLastErrorText (); +LPCTSTR GetLastErrorText (void );DWORD MsgToEventLog (DWORD flags,LPCTSTR lpszMsg, ...);
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/899?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: I1a9738ad73c79661a8beb4d9881eba0b4d3aea53
Gerrit-Change-Number: 899
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newchange
Attention is currently required from: cron2, plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/899?usp=email )
Change subject: add more (void) to windows specific function prototypes and declarations
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/899?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: I1a9738ad73c79661a8beb4d9881eba0b4d3aea53
Gerrit-Change-Number: 899
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Comment-Date: Wed, 19 Feb 2025 10:49:01 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
PATCH 1/1 add more (void) to windows specific function prototypes and declarations
In reply to a message not in the archive---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/899
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>
src/openvpn/win32.c +2 -2
@@ -103,7 +103,7 @@* Set OpenSSL environment variables to a safe directory */ static void -set_openssl_env_vars (); +set_openssl_env_vars (void );void init_win32 (void )
@@ -1518,7 +1518,7 @@ }static void -set_openssl_env_vars () +set_openssl_env_vars (void ) {const WCHAR *ssl_fallback_dir =L"C:\\Windows\\System32" ;
src/openvpnserv/common.c +1 -1
@@ -181,7 +181,7 @@LPCTSTR -GetLastErrorText () +GetLastErrorText (void ) {DWORD error;static TCHAR buf[256 ];
src/openvpnserv/service.c +2 -2
@@ -54,7 +54,7 @@ }static int -CmdInstallServices () +CmdInstallServices (void ) {SC_HANDLE service;SC_HANDLE svc_ctl_mgr;
@@ -146,7 +146,7 @@static int -CmdRemoveServices () +CmdRemoveServices (void ) {SC_HANDLE service;SC_HANDLE svc_ctl_mgr;
src/openvpnserv/service.h +1 -1
@@ -86,7 +86,7 @@BOOL ReportStatusToSCMgr (SERVICE_STATUS_HANDLE service,SERVICE_STATUS *status); -LPCTSTR GetLastErrorText (); +LPCTSTR GetLastErrorText (void );DWORD MsgToEventLog (DWORD flags,LPCTSTR lpszMsg, ...);
[Openvpn-devel] [PATCH applied] Re: add more (void) to windows specific function prototypes and declarations
This has been tested on ubuntu 22.04 / MinGW. Not sure why I did not see *these* (void) non-occurances when I did the last patch, but anyway, now all those have been fixed. I hope.
Patch has been applied to the master branch.
commit 8720bc8e2e4fbccd16ca4bffd27c416575b1bfee
Author: Gert Doering Date: Wed Feb 19 11:59:30 2025 +0100
add more (void) to windows specific function prototypes and declarations
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]/msg30929.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
Hello flichtenheld, plaisthos,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/899?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: add more (void) to windows specific function prototypes and declarations
......................................................................
add more (void) to windows specific function prototypes and declarations
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg30929.html
---
M src/openvpn/win32.c
M src/openvpnserv/common.c
M src/openvpnserv/service.c
M src/openvpnserv/service.h
4 files changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/99/899/2
src/openvpn/win32.c +2 -2
@@ -103,7 +103,7 @@* Set OpenSSL environment variables to a safe directory */ static void -set_openssl_env_vars (); +set_openssl_env_vars (void );void init_win32 (void )
@@ -1518,7 +1518,7 @@ }static void -set_openssl_env_vars () +set_openssl_env_vars (void ) {const WCHAR *ssl_fallback_dir =L"C:\\Windows\\System32" ;
src/openvpnserv/common.c +1 -1
@@ -181,7 +181,7 @@LPCTSTR -GetLastErrorText () +GetLastErrorText (void ) {DWORD error;static TCHAR buf[256 ];
src/openvpnserv/service.c +2 -2
@@ -54,7 +54,7 @@ }static int -CmdInstallServices () +CmdInstallServices (void ) {SC_HANDLE service;SC_HANDLE svc_ctl_mgr;
@@ -146,7 +146,7 @@static int -CmdRemoveServices () +CmdRemoveServices (void ) {SC_HANDLE service;SC_HANDLE svc_ctl_mgr;
src/openvpnserv/service.h +1 -1
@@ -86,7 +86,7 @@BOOL ReportStatusToSCMgr (SERVICE_STATUS_HANDLE service,SERVICE_STATUS *status); -LPCTSTR GetLastErrorText (); +LPCTSTR GetLastErrorText (void );DWORD MsgToEventLog (DWORD flags,LPCTSTR lpszMsg, ...);
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/899?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: I1a9738ad73c79661a8beb4d9881eba0b4d3aea53
Gerrit-Change-Number: 899
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: newpatchset
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/899?usp=email )
Change subject: add more (void) to windows specific function prototypes and declarations
......................................................................
add more (void) to windows specific function prototypes and declarations
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg30929.html
---
M src/openvpn/win32.c
M src/openvpnserv/common.c
M src/openvpnserv/service.c
M src/openvpnserv/service.h
4 files changed, 6 insertions(+), 6 deletions(-)
src/openvpn/win32.c +2 -2
@@ -103,7 +103,7 @@* Set OpenSSL environment variables to a safe directory */ static void -set_openssl_env_vars (); +set_openssl_env_vars (void );void init_win32 (void )
@@ -1518,7 +1518,7 @@ }static void -set_openssl_env_vars () +set_openssl_env_vars (void ) {const WCHAR *ssl_fallback_dir =L"C:\\Windows\\System32" ;
src/openvpnserv/common.c +1 -1
@@ -181,7 +181,7 @@LPCTSTR -GetLastErrorText () +GetLastErrorText (void ) {DWORD error;static TCHAR buf[256 ];
src/openvpnserv/service.c +2 -2
@@ -54,7 +54,7 @@ }static int -CmdInstallServices () +CmdInstallServices (void ) {SC_HANDLE service;SC_HANDLE svc_ctl_mgr;
@@ -146,7 +146,7 @@static int -CmdRemoveServices () +CmdRemoveServices (void ) {SC_HANDLE service;SC_HANDLE svc_ctl_mgr;
src/openvpnserv/service.h +1 -1
@@ -86,7 +86,7 @@BOOL ReportStatusToSCMgr (SERVICE_STATUS_HANDLE service,SERVICE_STATUS *status); -LPCTSTR GetLastErrorText (); +LPCTSTR GetLastErrorText (void );DWORD MsgToEventLog (DWORD flags,LPCTSTR lpszMsg, ...);
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/899?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: I1a9738ad73c79661a8beb4d9881eba0b4d3aea53
Gerrit-Change-Number: 899
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