aboutsummaryrefslogtreecommitdiff
path: root/src/openvpn/syshead.h
diff options
context:
space:
mode:
authorArne Schwabe2021-03-28 16:20:37 +0200
committerGert Doering2021-03-28 16:32:57 +0200
commit7975e33bd9122045d26d1a47294f2c47854a5f0e (patch)
treec28cd084d1b5fb40a08878d6fb88873654113764 /src/openvpn/syshead.h
parentca57070630a1b2935ee606cc1309005b56eb925f (diff)
downloadopenvpn-7975e33bd9122045d26d1a47294f2c47854a5f0e.zip
openvpn-7975e33bd9122045d26d1a47294f2c47854a5f0e.tar.gz
Remove flexible array member autoconf check
This is configure macro that tries out how to declare a variable array at the end of struct. This has been standardised in C99, so there is no more need for non C99 magic. See also this stackoverflow discussion: https://stackoverflow.com/questions/14643406/whats-the-need-of-array-with-z ero-elements Patch V2: Also remove AX_EMPTY_ARRAY from configure.ac Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Steffan Karger <steffan.karger@foxcrypto.com> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20210328142038.8826-1-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21882.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/syshead.h')
-rw-r--r--src/openvpn/syshead.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h
index 5ee9bf1..cf97145 100644
--- a/src/openvpn/syshead.h
+++ b/src/openvpn/syshead.h
@@ -392,8 +392,6 @@ typedef int MIB_TCP_STATE;
#ifdef PEDANTIC
#undef HAVE_CPP_VARARG_MACRO_GCC
#undef HAVE_CPP_VARARG_MACRO_ISO
-#undef EMPTY_ARRAY_SIZE
-#define EMPTY_ARRAY_SIZE 1
#undef inline
#define inline
#endif