]> git.ipfire.org Git - thirdparty/openvpn.git/commit
add missing static attribute to functions
authorAntonio Quartulli <antonio@openvpn.net>
Fri, 11 Aug 2017 09:07:42 +0000 (17:07 +0800)
committerDavid Sommerseth <davids@openvpn.net>
Mon, 14 Aug 2017 11:08:05 +0000 (13:08 +0200)
commitd1e18d89d9ff4ce946f27d5b019c407bf750fe4b
tree05fc004dae0a0dc16bd6e56837f7b3552f47d3a2
parenta5c2cb6046e7e23554b7bd71a52079b559129e0d
add missing static attribute to functions

Functions used only in the file where they are
defined and not exported in any header, should
always defined as static in order to make the scope
clear to the compiler and the developers.

Add the static attribute where missing.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <20170811090744.31750-4-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15202.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
(cherry picked from commit 72bcdfdc19243c1ed6cb8568f62f0c35e8b70f5f)
src/openvpn/comp-lz4.c
src/openvpn/forward.c
src/openvpn/manage.c
src/openvpn/mtcp.c
src/openvpn/multi.c
src/openvpn/ntlm.c
src/openvpn/options.c
src/openvpn/proxy.c
src/openvpn/route.c
src/openvpn/socket.c
src/openvpn/ssl.c