openvpn/src
Steffan Karger 9fc0e963c7 Move adjust_power_of_2() to integer.h
misc.c is a mess of incoherent functions, and is therefore included by
virtually all our source files.  That makes testing harder than it should
be.  As a first step of cleaning up misc.c, move adjust_power_of_2() to
integer.h, which is a more suitable place for a function like this.

This allows us to remove the duplicate implementation from test_argv.c.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20170621211043.6490-1-steffan@karger.me>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14940.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2017-06-27 20:33:39 +02:00
..
compat copyright: Update GPLv2 license texts 2017-06-16 10:38:03 +02:00
openvpn Move adjust_power_of_2() to integer.h 2017-06-27 20:33:39 +02:00
openvpnserv copyright: Update GPLv2 license texts 2017-06-16 10:38:03 +02:00
plugins copyright: Update GPLv2 license texts 2017-06-16 10:38:03 +02:00
Makefile.am Update copyrights 2016-12-21 21:57:58 +01:00