Skip to content

syshead: cleanups

Alon Bar-Lev openvpn-devel 1 version New

Get series with b4
b4 am [email protected]...

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16cleanup: syshead: remove OS_SPECIFIC_DIRSEP in favor of autoconf PATH_SEPARATORsrc/openvpn/misc.c src/openvpn/ssl_verify.c src/openvpn/syshead.h+2 -150 replies
2/16cleanup: syshead: move O_BINARY detection to autoconfconfigure.ac src/openvpn/syshead.h+11 -70 replies
3/16cleanup: syshead: remove useless WIN32_0_1src/openvpn/syshead.h+0 -100 replies
4/16cleanup: syshead: remove useless constant USE_64_BIT_COUNTERSsrc/openvpn/common.h src/openvpn/syshead.h+4 -140 replies
5/16cleanup: syshead: move apple specific CPPFLAGS out of sysheadconfigure.ac src/openvpn/syshead.h+18 -60 replies
6/16clenaup: syshead: remove wait macros wrapperssrc/openvpn/syshead.h+0 -90 replies
7/16cleanup: syshead: move likely, unlikely to basic.hsrc/openvpn/basic.h src/openvpn/syshead.h+9 -90 replies
8/16cleanup: syshead: move sleep, random, syshead.h emulation to compatsrc/compat/compat.h src/openvpn/syshead.h+6 -30 replies
9/16cleanup: syshead: rename S_ERROR->S_ERRORS to avoid conflict with stropts.hsrc/openvpn/ssl.c src/openvpn/ssl_common.h src/openvpn/syshead.h+9 -100 replies
10/16cleanup: syshead: split pedantic into pedantic, lintconfigure.ac src/openvpn/basic.h src/openvpn/error.h +3 more+32 -320 replies
11/16cleanup: syshead: move _P1003_1B_VISIBLE to autoconfconfigure.ac src/openvpn/syshead.h+1 -40 replies
12/16cleanup: syshead: move socket compat into basic.hsrc/openvpn/basic.h src/openvpn/syshead.h+17 -170 replies
13/16cleanup: syshead: remove dead codesrc/openvpn/syshead.h+0 -140 replies
14/16cleanup: syshead: move SOL_IP emulation to autoconfconfigure.ac src/openvpn/syshead.h+11 -80 replies
15/16cleanup: syshead: move ENABLE_MEMSTATS to autoconfconfigure.ac src/openvpn/syshead.h+1 -70 replies
16/16clenaup: syshead: reworder/cleanup includesconfigure.ac src/openvpn/syshead.h+36 -1120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Openvpn-devel] [PATCH 00/16] syshead: cleanups

Hello,

This series include some minor syshead.h cleanups, most moved to build system.

I think these are simple enough to go into 2.3, the risk is minimal but I don't care if we truly freeze 2.3 and switch master to 2.4 and apply this for 2.4.

This series is on top of my build branch[1], about to merge it too.

[1] https://github.com/alonbl/openvpn/compare/build

Alon Bar-Lev (16):
cleanup: syshead: remove OS_SPECIFIC_DIRSEP in favor of autoconf
PATH_SEPARATOR
cleanup: syshead: move O_BINARY detection to autoconf
cleanup: syshead: remove useless WIN32_0_1
cleanup: syshead: remove useless constant USE_64_BIT_COUNTERS
cleanup: syshead: move apple specific CPPFLAGS out of syshead
clenaup: syshead: remove wait macros wrappers
cleanup: syshead: move likely,unlikely to basic.h
cleanup: syshead: move sleep,random,syshead.h emulation to compat
cleanup: syshead: rename S_ERROR->S_ERRORS to avoid conflict with
stropts.h
cleanup: syshead: split pedantic into pedantic, lint
cleanup: syshead: move _P1003_1B_VISIBLE to autoconf
cleanup: syshead: move socket compat into basic.h
cleanup: syshead: remove dead code
cleanup: syshead: move SOL_IP emulation to autoconf
cleanup: syshead: move ENABLE_MEMSTATS to autoconf
clenaup: syshead: reworder/cleanup includes

 configure.ac             |   63 ++++++++++-
 src/compat/compat.h      |    6 +
 src/openvpn/basic.h      |   40 +++++++
 src/openvpn/common.h     |   13 +--
 src/openvpn/error.h      |    2 +-
 src/openvpn/misc.c       |    6 +-
 src/openvpn/openvpn.c    |    2 +-
 src/openvpn/ssl.c        |   16 ++--
 src/openvpn/ssl_common.h |    2 +-
 src/openvpn/ssl_verify.c |    2 +-
 src/openvpn/syshead.h    |  270 ++++++----------------------------------------
 src/openvpn/tun.c        |   12 --
 12 files changed, 157 insertions(+), 277 deletions(-)
Signature · 1 line
1.7.3.4