Rename rarch_git_version to retroarch_git_version

This commit is contained in:
twinaphex 2016-05-11 20:44:24 +02:00
parent 5cc86384b8
commit 0e972b9804
4 changed files with 5 additions and 5 deletions

View file

@ -17,5 +17,5 @@
#include "git_version.h"
#define STR_(x) #x
#define STR(x) STR_(x)
const char rarch_git_version[] = STR(GIT_VERSION);
const char retroarch_git_version[] = STR(GIT_VERSION);

View file

@ -23,7 +23,7 @@ extern "C" {
/* Put this in a separate file so we don't have to rebuilt
* retroarch.c every single build. */
extern const char rarch_git_version[];
extern const char retroarch_git_version[];
#ifdef __cplusplus
}

View file

@ -619,7 +619,7 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
strlcpy(tmp, menu_hash_to_str(MENU_LABEL_VALUE_SYSTEM_INFO_GIT_VERSION),
sizeof(tmp));
strlcat(tmp, ": ", sizeof(tmp));
strlcat(tmp, rarch_git_version, sizeof(tmp));
strlcat(tmp, retroarch_git_version, sizeof(tmp));
menu_entries_add(info->list, tmp, "",
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
#endif

View file

@ -176,7 +176,7 @@ static void retroarch_print_version(void)
fprintf(stderr, "%s: Frontend for libretro -- v%s",
msg_hash_to_str(MSG_PROGRAM), PACKAGE_VERSION);
#ifdef HAVE_GIT_VERSION
printf(" -- %s --\n", rarch_git_version);
printf(" -- %s --\n", retroarch_git_version);
#endif
retroarch_get_capabilities(RARCH_CAPABILITIES_COMPILER, str, sizeof(str));
fprintf(stdout, "%s", str);
@ -1249,7 +1249,7 @@ static int retroarch_main_init(int argc, char *argv[])
fprintf(stderr, "Built: %s\n", __DATE__);
RARCH_LOG_OUTPUT("Version: %s\n", PACKAGE_VERSION);
#ifdef HAVE_GIT_VERSION
RARCH_LOG_OUTPUT("Git: %s\n", rarch_git_version);
RARCH_LOG_OUTPUT("Git: %s\n", retroarch_git_version);
#endif
RARCH_LOG_OUTPUT("=================================================\n");
}