Add some changes to improve compiling on MSYS2

This commit is contained in:
jsteube
2016-10-21 09:07:39 +02:00
parent 6b96146e0f
commit c6c31a86d8
3 changed files with 13 additions and 6 deletions
+3 -3
View File
@@ -74,7 +74,7 @@ static int get_exec_path (char *exec_path, const size_t exec_path_sz)
return 0;
}
static void get_install_dir (char *install_dir, const char *exec_path)
void get_install_dir (char *install_dir, const char *exec_path)
{
strncpy (install_dir, exec_path, HCBUFSIZ_TINY - 1);
@@ -95,12 +95,12 @@ static void get_install_dir (char *install_dir, const char *exec_path)
}
}
static void get_profile_dir (char *profile_dir, const char *home_dir)
void get_profile_dir (char *profile_dir, const char *home_dir)
{
snprintf (profile_dir, HCBUFSIZ_TINY - 1, "%s/%s", home_dir, DOT_HASHCAT);
}
static void get_session_dir (char *session_dir, const char *profile_dir)
void get_session_dir (char *session_dir, const char *profile_dir)
{
snprintf (session_dir, HCBUFSIZ_TINY - 1, "%s/%s", profile_dir, SESSIONS_FOLDER);
}