Due to the reordering of functions in commit 586f5d36 the forward declaration to state_upgrade_tls() are no longer required.