Implement the rmdir_or_warn function
[gitweb.git] / git-compat-util.h
index a3c45373669cd8482c04d5815862ed36a153572d..67ea4c89f5f9db58bf5bf5dcde9d76e6fc511475 100644 (file)
@@ -469,5 +469,9 @@ void git_qsort(void *base, size_t nmemb, size_t size,
  * Always returns the return value of unlink(2).
  */
 int unlink_or_warn(const char *path);
+/*
+ * Likewise for rmdir(2).
+ */
+int rmdir_or_warn(const char *path);
 
 #endif