summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-10 21:24:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-10 21:24:24 (GMT)
commitfb907176de4657892682c049946ba28caed9adde (patch)
tree2749690297dd0aaab8178b9b88a02ef5847c3cdf /cache.h
parent5886e75489df639ff3ac1f9b53d2c27bd9fe8f0a (diff)
parentb2d593a7797f4f9452e46f722e181604a5582897 (diff)
downloadgit-fb907176de4657892682c049946ba28caed9adde.zip
git-fb907176de4657892682c049946ba28caed9adde.tar.gz
git-fb907176de4657892682c049946ba28caed9adde.tar.bz2
Merge branch 'rj/remove-unused-mktemp'
Code cleanup. * rj/remove-unused-mktemp: wrapper.c: remove unused gitmkstemps() function wrapper.c: remove unused git_mkstemp() function
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/cache.h b/cache.h
index 1046dfc..283ab8f 100644
--- a/cache.h
+++ b/cache.h
@@ -1045,9 +1045,6 @@ static inline int is_empty_tree_oid(const struct object_id *oid)
return !hashcmp(oid->hash, EMPTY_TREE_SHA1_BIN);
}
-
-int git_mkstemp(char *path, size_t n, const char *template);
-
/* 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);