aboutsummaryrefslogtreecommitdiffstats
path: root/path.h
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-04-05 12:56:48 +0200
committerJunio C Hamano <gitster@pobox.com>2024-04-05 09:49:38 -0700
commit708f7e05907ba7d4acd08bf87f51474471a16f43 (patch)
tree46a98cfae85112f3dc2b5d060b6189120bafd444 /path.h
parent9126cb3186112f160a601e9a7eda29dd43227576 (diff)
downloadgit-708f7e05907ba7d4acd08bf87f51474471a16f43.tar.gz
path: remove mksnpath()
Remove the function mksnpath(), which has become unused. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'path.h')
-rw-r--r--path.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/path.h b/path.h
index b3233c51fa..54d39c770f 100644
--- a/path.h
+++ b/path.h
@@ -24,12 +24,6 @@ char *mkpathdup(const char *fmt, ...)
__attribute__((format (printf, 1, 2)));
/*
- * Construct a path and place the result in the provided buffer `buf`.
- */
-char *mksnpath(char *buf, size_t n, const char *fmt, ...)
- __attribute__((format (printf, 3, 4)));
-
-/*
* The `git_common_path` family of functions will construct a path into a
* repository's common git directory, which is shared by all worktrees.
*/