aboutsummaryrefslogtreecommitdiff
path: root/wrapper.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-10-10 11:39:14 -0700
committerJunio C Hamano <gitster@pobox.com>2023-10-10 11:39:14 -0700
commita7a2d10421b735944f376f1de53b437bfbb93e88 (patch)
tree7004d754ae7d6fc1e51820f556d0570da835e42c /wrapper.h
parent3df51ea0a5ef88b801ab30ca28f159b898183926 (diff)
parentb1bda751739d90e1a94b47397676bcb8eebf16d5 (diff)
downloadgit-a7a2d10421b735944f376f1de53b437bfbb93e88.tar.xz
Merge branch 'cw/prelim-cleanup'
Shuffle some bits across headers and sources to prepare for libification effort. * cw/prelim-cleanup: parse: separate out parsing functions from config.h config: correct bad boolean env value error message wrapper: reduce scope of remove_or_warn() hex-ll: separate out non-hash-algo functions
Diffstat (limited to 'wrapper.h')
-rw-r--r--wrapper.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/wrapper.h b/wrapper.h
index 79c7321bb3..1b2b047ea0 100644
--- a/wrapper.h
+++ b/wrapper.h
@@ -106,11 +106,6 @@ int unlink_or_msg(const char *file, struct strbuf *err);
* not exist.
*/
int rmdir_or_warn(const char *path);
-/*
- * Calls the correct function out of {unlink,rmdir}_or_warn based on
- * the supplied file mode.
- */
-int remove_or_warn(unsigned int mode, const char *path);
/*
* Call access(2), but warn for any error except "missing file"