NetworkHandler: make status callback private, reorder functions
The status callback function now gets privately declared at the earliest
possible moment, to both allow for reordering of code and avoid calling
this function directly from any other part of the code

* void changed to static void in status_callback declaration
* this now makes it possible to define network_init before
status_callback, as status_callback is declared much earlier
1 parent 64ac771 commit 7473724ab3d75c3c7022f80dfc51f029ee7a9b65
@Xogium Xogium authored on 5 Apr 2023
Showing 1 changed file
View
src/NetworkHandler.cpp