Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Implement the rmdir_or_warn function
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index a3c45373669cd8482c04d5815862ed36a153572d..67ea4c89f5f9db58bf5bf5dcde9d76e6fc511475 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-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