From 708f7e05907ba7d4acd08bf87f51474471a16f43 Mon Sep 17 00:00:00 2001 From: René Scharfe Date: Fri, 5 Apr 2024 12:56:48 +0200 Subject: path: remove mksnpath() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the function mksnpath(), which has become unused. Signed-off-by: René Scharfe Signed-off-by: Junio C Hamano --- path.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'path.h') diff --git a/path.h b/path.h index b3233c51fa..54d39c770f 100644 --- a/path.h +++ b/path.h @@ -23,12 +23,6 @@ const char *mkpath(const char *fmt, ...) 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. -- cgit v1.3