summaryrefslogtreecommitdiff
path: root/mkdir_r.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavier.delcampo@orain.io>2020-09-17 13:07:43 +0200
committerXavier Del Campo Romero <xavier.delcampo@orain.io>2020-09-17 13:07:46 +0200
commit09282eefd060f910ca2e70dc7c84788a106c215e (patch)
tree902384d0282be1c1bede54750f87a4c15954ebd3 /mkdir_r.h
parent019e074bdea5cac4cbee2d99f1d2bc9aa948db6b (diff)
downloadmkdir_r-09282eefd060f910ca2e70dc7c84788a106c215e.tar.gz
Remove level parameter from mkdir_r API
It has been removed since it is of no use to the end user.
Diffstat (limited to 'mkdir_r.h')
-rw-r--r--mkdir_r.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkdir_r.h b/mkdir_r.h
index cc32b24..5e36f73 100644
--- a/mkdir_r.h
+++ b/mkdir_r.h
@@ -19,9 +19,8 @@
/**
* Recursive directory creation.
* @param path Directory path
- * @param level Always set to 0.
* @return 0 if successful, -1 otherwise.
*/
-int mkdir_r(const char *const path, int level);
+int mkdir_r(const char *const path);
#endif /* MKDIR_R_H */