From cf71d465a355ec165ab9186a5026a2fec1854019 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 16 Jun 2017 15:33:06 +0200 Subject: [PATCH] Turn mkdir_norecurse into static function --- libretro-common/file/file_path.c | 2 +- libretro-common/include/file/file_path.h | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/libretro-common/file/file_path.c b/libretro-common/file/file_path.c index edd113787b..42ff0eba62 100644 --- a/libretro-common/file/file_path.c +++ b/libretro-common/file/file_path.c @@ -194,7 +194,7 @@ int32_t path_get_size(const char *path) * * Returns: true (1) if directory could be created, otherwise false (0). **/ -bool mkdir_norecurse(const char *dir) +static bool mkdir_norecurse(const char *dir) { #if defined(_WIN32) int ret = _mkdir(dir); diff --git a/libretro-common/include/file/file_path.h b/libretro-common/include/file/file_path.h index ab1c10a4b2..2fcd947407 100644 --- a/libretro-common/include/file/file_path.h +++ b/libretro-common/include/file/file_path.h @@ -473,16 +473,6 @@ bool path_is_valid(const char *path); int32_t path_get_size(const char *path); -/** - * path_mkdir_norecurse: - * @dir : directory - * - * Create directory on filesystem. - * - * Returns: true (1) if directory could be created, otherwise false (0). - **/ -bool mkdir_norecurse(const char *dir); - RETRO_END_DECLS #endif