summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-02-14 10:59:53 -0800
committerJunio C Hamano <gitster@pobox.com>2018-02-22 10:08:05 -0800
commita63b5fca9b322a95d9bfd051b34a76c336693899 (patch)
treebb2b6aed5c13804e5bb852022ec12e63a2c010bb /cache.h
parentfa0fccae6ab1ad242d8805baf5acb7e5d4518540 (diff)
downloadgit-a63b5fca9b322a95d9bfd051b34a76c336693899.tar.gz
environment: rename 'template' variables
Rename C++ keyword in order to bring the codebase closer to being able to be compiled with a C++ compiler. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 69b5a3bf81..5b8d493771 100644
--- a/cache.h
+++ b/cache.h
@@ -1673,7 +1673,7 @@ struct pack_entry {
* usual "XXXXXX" trailer, and the resulting filename is written into the
* "template" buffer. Returns the open descriptor.
*/
-extern int odb_mkstemp(struct strbuf *template, const char *pattern);
+extern int odb_mkstemp(struct strbuf *temp_filename, const char *pattern);
/*
* Create a pack .keep file named "name" (which should generally be the output