mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 09:40:11 +00:00
Make g_config a static variable and make it no longer global
This commit is contained in:
parent
a66c72e875
commit
0724617abd
@ -31,7 +31,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
settings_t g_config;
|
||||
static settings_t g_config;
|
||||
struct global g_extern;
|
||||
struct defaults g_defaults;
|
||||
|
||||
|
@ -409,9 +409,6 @@ bool config_save_file(const char *path);
|
||||
|
||||
settings_t *config_get_ptr(void);
|
||||
|
||||
/* Public data structures. */
|
||||
extern settings_t g_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user