]> git.ipfire.org Git - thirdparty/openvpn.git/commit
rename foreign_option() and move it up
authorHeiko Hund <heiko@ist.eigentlich.net>
Fri, 27 May 2022 01:24:56 +0000 (03:24 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 27 May 2022 08:20:18 +0000 (10:20 +0200)
commit2c2b22b370b239ae8311e8152ab0bb81cc66fe29
tree84e7ebef1bbe0c45a1abb6bf027693988a2789f9
parentccdd7096ae9a5fe6f07451f525cbdd40885f3acc
rename foreign_option() and move it up

Add setenv_ prefix to foreign_option funtion so it is more obvious what
it does. Move it further up within options.c, so it is defined before
all future callers. Also declare all argv strings const.

Signed-off-by: Heiko Hund <heiko@ist.eigentlich.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220527012457.1819262-4-heiko@ist.eigentlich.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24436.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c