From: "flichtenheld (Code Review)"
Date: Wed, 19 Mar 2025 13:07:00 +0000
In-Reply-To:
References:
Reply-To: frank@...2641..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, lstipakov@...277...
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="bQcyTQonVLo="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: Post tchar.h removal
cleanup
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: plaisthos , stipa
Cc: openvpn-devel
--bQcyTQonVLo=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos, stipa.
Hello plaisthos, stipa,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/854?usp=3Demail
to look at the new patch set (#4).
The following approvals got outdated and were removed:
Code-Review+2 by stipa
The change is no longer submittable: Code-Review and checks~ChecksSubmitRul=
e are unsatisfied now.
Change subject: Post tchar.h removal cleanup
......................................................................
Post tchar.h removal cleanup
Remove some unused defines.
Change-Id: Ib3a166ead912beb2a591105c84d96d342664c05f
Signed-off-by: Frank Lichtenheld
---
M src/openvpnserv/service.h
M src/tapctl/basic.h
2 files changed, 4 insertions(+), 11 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/54/854/4
diff --git a/src/openvpnserv/service.h b/src/openvpnserv/service.h
index b2b706b..7112f26 100644
--- a/src/openvpnserv/service.h
+++ b/src/openvpnserv/service.h
@@ -24,11 +24,6 @@
#ifndef _SERVICE_H
#define _SERVICE_H
-/* We do not support non-unicode builds */
-#ifndef UNICODE
-#define UNICODE
-#endif
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/tapctl/basic.h b/src/tapctl/basic.h
index ca5c6d4..49a3cf6 100644
--- a/src/tapctl/basic.h
+++ b/src/tapctl/basic.h
@@ -22,13 +22,11 @@
#ifndef BASIC_H
#define BASIC_H
-#ifdef _UNICODE
-#define PRIsLPWSTR "ls"
-#define PRIsLPOLESTR "ls"
-#else
-#define PRIsLPWSTR "s"
-#define PRIsLPOLESTR "ls"
+/* We do not support non-unicode builds */
+#ifndef UNICODE
+#define UNICODE
#endif
+
#define PRIXGUID "{%08lX-%04hX-%04hX-%02hhX%02hhX-%02hhX%02hhX%02hh=
X%02hhX%02hhX%02hhX}"
#define PRIGUID_PARAM(g) \
(g).Data1, (g).Data2, (g).Data3, (g).Data4[0], (g).Data4[1], (g).Data4=
[2], (g).Data4[3], (g).Data4[4], (g).Data4[5], (g).Data4[6], (g).Data4[7]
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/854?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib3a166ead912beb2a591105c84d96d342664c05f
Gerrit-Change-Number: 854
Gerrit-PatchSet: 4
Gerrit-Owner: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-Reviewer: stipa
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: stipa
Gerrit-MessageType: newpatchset
--bQcyTQonVLo=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos, stipa.
flichtenheld uploaded patch set #4 to this change.
<=
p>View Ch=
ange
The following approvals got outdated and were removed:
Code-Review+2 by stipa
The change is no longer submittable: Code-Revi=
ew and checks~ChecksSubmitRule are unsatisfied now.
Post tchar.h removal cl=
eanup
Remove some unused defines.
Change-Id: Ib3a166ead912beb=
2a591105c84d96d342664c05f
Signed-off-by: Frank Lichtenheld <frank@...493...=
2641...>
---
M src/openvpnserv/service.h
M src/tapctl/basic.h2 files changed, 4 insertions(+), 11 deletions(-)
git pull ssh:=
//gerrit.openvpn.net:29418/openvpn refs/changes/54/854/4
diff --git=
a/src/openvpnserv/service.h b/src/openvpnserv/service.h
in=
dex b2b706b..7112f26 100644
--- a/src/openvpnserv/service.h=
+++ b/src/openvpnserv/service.h
@@ -24,11 =
+24,6 @@
#ifndef _SERVICE_H
#define _SERV=
ICE_H
-/* We do not support non-unicode builds */
-#ifndef UNICODE
-#define UNICODE
-#endif
-
#ifdef HAVE_CONFIG_H
#include "config.h=
"
#endif
diff --git a/src/tapctl/basi=
c.h b/src/tapctl/basic.h
index ca5c6d4..49a3cf6 100644
--- a/src/tapctl/basic.h
+++ b/src/tapctl/basic=
.h
@@ -22,13 +22,11 @@
#ifndef BASIC_H
#define BASIC_H
-#ifdef _UNICODE
-#define PRIsLPWSTR "ls"
-#define PRIsLPOLESTR "ls"=
-#else
-#define PRIsLPWSTR "s"=
-#define PRIsLPOLESTR =
"ls"
+/*=
We do not support non-unicode builds */
+#ifndef UNICODE
+#define UNICODE
#endif
+
#define PRIXGUID =
"{%08lX-%04hX-%04hX-%02hhX%02hhX-%02hhX%02hhX%02hhX%02hhX%02hhX%02=
hhX}"
#define PRIGUID_PARAM(g) \
=
(g).Data1, (g).Data2, (g).Data3, (g).Data4[0], (g).Data4[1], (g).Data4[2],=
(g).Data4[3], (g).Data4[4], (g).Data4[5], (g).Data4[6], (g).Data4[7]
To view, visit change 854. To unsubscribe, or for=
help writing mail filters, visit settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib3a166ead912beb2a591105c84d=
96d342664c05f
Gerrit-Change-Number: 854
Gerrit-PatchSet: 4
Gerrit-Owner: flichtenheld <frank@...2723...=
.>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-Reviewer: stipa <lstipakov@...277...=
>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: stipa <lstipakov@...1663...=
.>
Gerrit-MessageType: newpatchset
--bQcyTQonVLo=--