0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
Frank Lichtenheld
7cd7b6619e
Fix misc wrong types
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
2023-09-28 11:33:44 +02:00
David Sommerseth
dde1574596
Reformatting source code to new coding style
This is the result after running 'clang-format -i' on all C++ files and
headers, with the defined formatting rules in .clang-format.

Only the openvpn/common/unicode-impl.hpp has been excluded, as that is
mostly a copy of an external project.

Signed-off-by: David Sommerseth <davids@openvpn.net>
2023-01-18 19:24:15 +01:00
Frank Lichtenheld
17f3a867d0 getopt.hpp: add some sort of PURL
Closest I could identify so far. The fact that it is in
CVS and has no useful tags doesn't make it better.
Probably we can improve upon this.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
2022-02-25 15:31:58 +01:00
Frank Lichtenheld
aca3d6df21 getopt.hpp: Fix old BSD-4-Clause-UC reference
As per ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
the 3rd clause was removed 1999. So remove it here.
This removes also any potential GPL conflicts.
Renumber 4th clause to 3 as all the BSDs seem to have
done so.

While here, add SPDX-License-Identifier

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
2022-02-25 14:12:56 +01:00
Lev Stipakov
7cf2e210d1
mingw: fix various warnings
- remove unused variable
 - replace deprecated JsonReader with CharReader
 - fix initialization order
 - fix signed-unsigned comparison
 - fix string constant to char* conversion
 - fix unknown (to mingw) format character
 - fix passing NULL to non-pointer agrument
 - remove unneeded #pragma once

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2020-03-11 19:44:40 +01:00
James Yonan
35ac9f6229 Renamed types.hpp to size.hpp since it now only defines
size_t and ssize_t.
2015-05-17 13:27:34 -06:00
James Yonan
fe6fcefa61 C++11 : rename NULL to nullptr 2015-05-17 02:53:37 -06:00
James Yonan
0255621670 Added a getopt_long implementation for Windows, since MSVC does
not provide one.
2014-02-08 00:13:23 -07:00