mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Make g_config a static variable and make it no longer global
This commit is contained in:
parent
a66c72e875
commit
0724617abd
2 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue