aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/exec-native.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/exec-native.c')
-rw-r--r--src/blogc-make/exec-native.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc-make/exec-native.c b/src/blogc-make/exec-native.c
index a02cd26..ae5517d 100644
--- a/src/blogc-make/exec-native.c
+++ b/src/blogc-make/exec-native.c
@@ -89,7 +89,7 @@ bm_exec_native_cp(bm_filectx_t *source, bm_filectx_t *dest, bool verbose)
bool
-bm_exec_empty_dir(const char *dir, bc_error_t **err)
+bm_exec_native_is_empty_dir(const char *dir, bc_error_t **err)
{
DIR *d = opendir(dir);
if (d == NULL) {
@@ -149,7 +149,7 @@ bm_exec_native_rm(const char *output_dir, bm_filectx_t *dest, bool verbose)
bc_error_t *err = NULL;
while ((0 != strcmp(short_dir, ".")) && (0 != strcmp(short_dir, "/"))) {
- bool empty = bm_exec_empty_dir(dir, &err);
+ bool empty = bm_exec_native_is_empty_dir(dir, &err);
if (err != NULL) {
fprintf(stderr, "blogc-make: error: %s\n", err->msg);
bc_error_free(err);