diff options
author | Antonio Quartulli | 2017-11-12 00:18:36 +0800 |
---|---|---|
committer | Gert Doering | 2018-10-06 18:00:48 +0200 |
commit | 632af53a515aa1570028f9f82e4b11ab7171f3a3 (patch) | |
tree | fe0da3d244a8d78c644ab0b9c4cf37607dc5047f /src/openvpn/ssl_verify_openssl.h | |
parent | a54f37d8b702378e3aa39e97b40c4dcca6ab402d (diff) | |
download | openvpn-632af53a515aa1570028f9f82e4b11ab7171f3a3.zip openvpn-632af53a515aa1570028f9f82e4b11ab7171f3a3.tar.gz |
ensure function declarations are compiled with their definitions
Function prototypes should be included when compiling their
definitions so that it is clear to compilers and static
analyzers that they are not static.
This means that several declarations have to be moved to the
related header files which in turn have to be included by the
source files implementing them.
Generally speaking this also improves the coding style and
makes this code more consistent with the rest that already
follows this rule.
Cc: Steffan Karger <steffan@karger.me>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <20171111161836.23356-3-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15820.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/ssl_verify_openssl.h')
0 files changed, 0 insertions, 0 deletions