From: "cron2 (Code Review)" Date: Tue, 10 Feb 2026 15:31:34 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="5EW2SqOjTts="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Update the clang-format reference version to 21.1.8 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld , plaisthos Cc: openvpn-devel --5EW2SqOjTts= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#2) to the change originally created by= flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1514?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by cron2 Change subject: Update the clang-format reference version to 21.1.8 ...................................................................... Update the clang-format reference version to 21.1.8 Latest v21.x version. Changes a few file in Windows specific code due to bug fixes. Change-Id: Iaf0d8f528211f1971f163a8006b054efb4917e2a Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1514 Message-Id: <20260210151639.913-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35= 563.html Signed-off-by: Gert Doering --- M .pre-commit-config.yaml M src/openvpnmsica/openvpnmsica.c M src/tapctl/main.c 3 files changed, 15 insertions(+), 8 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/14/1514/2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1bca47..5fd5465 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/mirrors-clang-format - rev: 'v20.1.0' + rev: 'v21.1.8' hooks: - id: clang-format files: \.[ch]$ diff --git a/src/openvpnmsica/openvpnmsica.c b/src/openvpnmsica/openvpnmsic= a.c index b5d8cd2..a145b64 100644 --- a/src/openvpnmsica/openvpnmsica.c +++ b/src/openvpnmsica/openvpnmsica.c @@ -308,7 +308,8 @@ } -UINT __stdcall FindSystemInfo(_In_ MSIHANDLE hInstall) +UINT __stdcall +FindSystemInfo(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -335,7 +336,8 @@ } -UINT __stdcall CloseOpenVPNGUI(_In_ MSIHANDLE hInstall) +UINT __stdcall +CloseOpenVPNGUI(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -359,7 +361,8 @@ } -UINT __stdcall StartOpenVPNGUI(_In_ MSIHANDLE hInstall) +UINT __stdcall +StartOpenVPNGUI(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -620,7 +623,8 @@ } -UINT __stdcall EvaluateTUNTAPAdapters(_In_ MSIHANDLE hInstall) +UINT __stdcall +EvaluateTUNTAPAdapters(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -963,7 +967,8 @@ } } -UINT __stdcall ProcessDeferredAction(_In_ MSIHANDLE hInstall) +UINT __stdcall +ProcessDeferredAction(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -1166,7 +1171,8 @@ return uiResult; } -UINT __stdcall CheckAndScheduleReboot(_In_ MSIHANDLE hInstall) +UINT __stdcall +CheckAndScheduleReboot(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) diff --git a/src/tapctl/main.c b/src/tapctl/main.c index 6bb4119..1d047dd 100644 --- a/src/tapctl/main.c +++ b/src/tapctl/main.c @@ -609,7 +609,8 @@ /** * Program entry point */ -int __cdecl wmain(int argc, LPCWSTR argv[]) +int __cdecl +wmain(int argc, LPCWSTR argv[]) { int iResult; BOOL bRebootRequired =3D FALSE; -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1514?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Iaf0d8f528211f1971f163a8006b054efb4917e2a Gerrit-Change-Number: 1514 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --5EW2SqOjTts= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 upl= oaded patch set #2 to the change originally created by flichtenhel= d.

View Change

The following approvals got outdated and were remove= d: Code-Review+2 by cron2

Update the clang-format reference v=
ersion to 21.1.8

Latest v21.x version.
Changes a few file in Wind= ows specific code due
to bug fixes.

Change-Id: Iaf0d8f528211f1971= f163a8006b054efb4917e2a
Signed-off-by: Frank Lichtenheld <frank@...2375...= 41...>
Acked-by: Gert Doering <gert@...1296...>
Gerrit URL: = https://gerrit.openvpn.net/c/openvpn/+/1514
Message-Id: <202602101516= 39.913-1-gert@...1296...>
URL: https://www.mail-archive.com/openvpn-d= evel@lists.sourceforge.net/msg35563.html
Signed-off-by: Gert Doering <= ;gert@...1296...>
---
M .pre-commit-config.yaml
M src/openvpnms= ica/openvpnmsica.c
M src/tapctl/main.c
3 files changed, 15 insertions= (+), 8 deletions(-)

git pull ssh://gerrit.openvp=
n.net:29418/openvpn refs/changes/14/1514/2
diff --git a/.pre-commit=
-config.yaml b/.pre-commit-config.yaml
index c1bca47..5fd54= 65 100644
--- a/.pre-commit-config.yaml
+++= b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
= repos:
- repo: https://github.com/pre-commit/mirrors-cl= ang-format
- rev: &#= 39;v20.1.0'
+ = rev: 'v21.1.8'
hooks:
-= id: clang-format
files: \.[ch]$
d= iff --git a/src/openvpnmsica/openvpnmsica.c b/src/openvpnmsica/openvpnmsica= .c
index b5d8cd2..a145b64 100644
--- a/src/= openvpnmsica/openvpnmsica.c
+++ b/src/openvpnmsica/openvpnm= sica.c
@@ -308,7 +308,8 @@
}


= -UINT __stdcall FindSystemInfo(_In_ MSIHANDLE hInstall)
+UINT __stdcall
+FindSystemInfo(_In_ MSIHANDLE hInstall)
{
#ifdef DLLEXP_EXPORT
#prag= ma comment(linker, DLLEXP_EXPORT)
@@ -335,7 +336,8 @@
}


-UINT __stdcall CloseOpenVPNGUI(_In_ MSIHANDLE h= Install)
+UINT __stdc= all
+CloseOpenVPNGUI(= _In_ MSIHANDLE hInstall)
{
#ifdef DLLEXP_= EXPORT
#pragma comment(linker, DLLEXP_EXPORT)
@@ -359,7 +361,8 @@

}


-UINT __stdcall Sta= rtOpenVPNGUI(_In_ MSIHANDLE hInstall)
+UINT __stdcall
+StartOpenVPNGUI(_In_ MSIHANDLE hInstall)
{
#ifdef DLLEXP_EXPORT
#pragma comment(linker= , DLLEXP_EXPORT)
@@ -620,7 +623,8 @@
}



-UINT __stdcall EvaluateTUNTAPAdapters(_In_ MSIHANDLE hInstall)
+UINT __stdcall=
+EvaluateTUNTAPAdapters(_In= _ MSIHANDLE hInstall)
{
#ifdef DLLEXP_EXP= ORT
#pragma comment(linker, DLLEXP_EXPORT)
@@ -963,7 +967,8 @@

}
}

-UINT __stdcall P= rocessDeferredAction(_In_ MSIHANDLE hInstall)
+UINT __stdcall
+ProcessDeferredAction(_In_ MSIHANDLE hInstall)<= br> {
#ifdef DLLEXP_EXPORT
#pragma = comment(linker, DLLEXP_EXPORT)
@@ -1166,7 +1171,8 @@=
return uiResult;
}
=
-UINT __stdcall CheckAndSched= uleReboot(_In_ MSIHANDLE hInstall)
+UINT __stdcall
+CheckAndScheduleReboot(_In_ MSIHANDLE hInstall)
= {
#ifdef DLLEXP_EXPORT
#pragma comment(li= nker, DLLEXP_EXPORT)
diff --git a/src/tapctl/main.c b/src/t= apctl/main.c
index 6bb4119..1d047dd 100644
= --- a/src/tapctl/main.c
+++ b/src/tapctl/main.c
<= span>@@ -609,7 +609,8 @@
/**
* Program e= ntry point
*/
-int __cdecl wmain(int argc, LPCWSTR argv[])
+int __cdecl
+wmain(int argc, LPCWSTR argv[])
= {
int iResult;
BOOL bRebootRequir= ed =3D FALSE;

To view, visit change 1514. T= o unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Iaf0d8f528211f1971f163a8006b= 054efb4917e2a
Gerrit-Change-Number: 1514
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --5EW2SqOjTts=--