]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Only add some functions when really needed
authorDavid Sommerseth <dazo@users.sourceforge.net>
Mon, 15 Nov 2010 07:56:18 +0000 (08:56 +0100)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 18 Nov 2010 17:54:49 +0000 (18:54 +0100)
commitd29e6de16ad1cbbc5740e732268da9347b370a1d
tree58afabcd4a50d0f9b4ea27624be2c01c93b47bbb
parent33ee747fff4acb4ea4c143089aa2c596a1e4d0bd
Only add some functions when really needed

The GNU C compiler gave warnings about some functions not being used.
These functions where only used if certian #ifdef sections was enabled.

This patch encapsulates these function declarations with matching #ifdef's
to make it more clear when these functions are needed.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Peter Stuge <peter@stuge.se>
options.c
reliable.c