From a05032a80dd3cb765e4ffb4ad107fad9dea3ef80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Sun, 21 Jun 2015 19:29:28 -0300 Subject: [PATCH] (retroarch) Fix declaration of some globals --- retroarch.c | 3 +++ retroarch.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/retroarch.c b/retroarch.c index 2f7180f258..2fbcfd76cd 100644 --- a/retroarch.c +++ b/retroarch.c @@ -59,6 +59,9 @@ #include "menu/menu_input.h" #endif +char orig_savestate_dir[PATH_MAX_LENGTH]; +char orig_savefile_dir[PATH_MAX_LENGTH]; + /* Descriptive names for options without short variant. Please keep the name in sync with the option name. Order does not matter. */ enum { diff --git a/retroarch.h b/retroarch.h index f5437bd47c..7f85993f0c 100644 --- a/retroarch.h +++ b/retroarch.h @@ -172,8 +172,8 @@ void set_paths_redirect(const char *path); int rarch_info_get_capabilities(enum rarch_capabilities type, char *s, size_t len); -char orig_savestate_dir[PATH_MAX_LENGTH]; -char orig_savefile_dir[PATH_MAX_LENGTH]; +extern char orig_savestate_dir[PATH_MAX_LENGTH]; +extern char orig_savefile_dir[PATH_MAX_LENGTH]; #ifdef __cplusplus }