Move definition of globals for g_data_runloop and g_runloop

out of settings.c
This commit is contained in:
twinaphex 2015-03-15 03:21:58 +01:00
parent 8c1045c1ae
commit 892e665f40
3 changed files with 6 additions and 2 deletions

View File

@ -32,6 +32,8 @@
#include "netplay.h"
#endif
struct runloop g_runloop;
/* Convenience macros. */
#define check_oneshot_func(trigger_input) (check_is_oneshot(BIT64_GET(trigger_input, RARCH_FRAMEADVANCE), BIT64_GET(trigger_input, RARCH_REWIND)))
#define check_slowmotion_func(input) (check_slowmotion(BIT64_GET(input, RARCH_SLOWMOTION)))

View File

@ -19,7 +19,11 @@
#include "input/input_overlay.h"
#ifdef HAVE_NETWORKING
#include "net_http.h"
#endif
struct data_runloop g_data_runloop;
#ifdef HAVE_NETWORKING
int cb_core_updater_download(void *data_, size_t len);
int cb_core_updater_list(void *data_, size_t len);

View File

@ -36,8 +36,6 @@
struct settings g_settings;
struct global g_extern;
struct runloop g_runloop;
struct data_runloop g_data_runloop;
struct defaults g_defaults;
/**