Need to be placed above this code block

This commit is contained in:
twinaphex 2021-11-05 04:50:16 +01:00
parent db9283b57c
commit 9c3c547482

View File

@ -192,6 +192,13 @@ const uint16_t netplay_key_ntoh_mapping[] = {
/* TODO/FIXME - static global variables */
static uint16_t netplay_mapping[RETROK_LAST];
static net_driver_state_t networking_driver_st = {0};
net_driver_state_t *networking_state_get_ptr(void)
{
return &networking_driver_st;
}
#ifdef HAVE_NETPLAYDISCOVERY
#ifdef HAVE_SOCKET_LEGACY
@ -211,13 +218,6 @@ static int16_t htons_for_morons(int16_t value)
#endif
static net_driver_state_t networking_driver_st = {0};
net_driver_state_t *networking_state_get_ptr(void)
{
return &networking_driver_st;
}
static bool netplay_lan_ad_client(void)
{
unsigned i;