]> git.ipfire.org Git - thirdparty/curl.git/commit
schannel: reorder functions topologically
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Jun 2017 10:44:26 +0000 (12:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Aug 2017 12:56:57 +0000 (14:56 +0200)
commit742ddc9d8f987e723451bdb1be6b4cbea1e39a55
tree4f9752394235bfec46f5ad4167f51360c166e807
parent3ea5461d4efe1e3c781fe9cb32778e298a0bc92a
schannel: reorder functions topologically

The _shutdown() function calls the _session_free() function; While this
is not a problem now (because schannel.h declares both functions), a
patch looming in the immediate future with make all of these functions
file-local.

So let's just move the _session_free() function's definition before it
is called.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
lib/vtls/schannel.c