summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-04-22 12:25:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-04-22 21:07:55 (GMT)
commit659488326cf6a170cd474e66f1bed6f5bc322eab (patch)
tree8fe55f35d0e4d2f52e82f70a697d8b786a768432 /cache.h
parent423b592a06876a90f584884d4381dcf4d41f6b3b (diff)
downloadgit-659488326cf6a170cd474e66f1bed6f5bc322eab.zip
git-659488326cf6a170cd474e66f1bed6f5bc322eab.tar.gz
git-659488326cf6a170cd474e66f1bed6f5bc322eab.tar.bz2
wrapper.c: delete dead function git_mkstemps()
Its last call site was replaced by mks_tempfile_ts() in 284098f (diff: use tempfile module - 2015-08-12) and there's a good chance mks_tempfile_ts will continue to successfully handle this job. Delete it. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index 9f09540..b306b5f 100644
--- a/cache.h
+++ b/cache.h
@@ -926,8 +926,6 @@ static inline int is_empty_blob_sha1(const unsigned char *sha1)
int git_mkstemp(char *path, size_t n, const char *template);
-int git_mkstemps(char *path, size_t n, const char *template, int suffix_len);
-
/* set default permissions by passing mode arguments to open(2) */
int git_mkstemps_mode(char *pattern, int suffix_len, int mode);
int git_mkstemp_mode(char *pattern, int mode);