summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-21 15:07:17 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-21 15:07:17 -0700
commit45cbc37c5f84fadd78cccf6b2ea82a9ef251cdc6 (patch)
tree279382ccc172caff7ccd76eb2f0743619063597f /git-compat-util.h
parente15b9606557d590e1cdc1e3b1b9154cce455a4c8 (diff)
parentf20754802a280c57a1e5886605b6805bbf040c63 (diff)
downloadgit-45cbc37c5f84fadd78cccf6b2ea82a9ef251cdc6.tar.gz
Merge branch 'jk/pack-name-cleanups'
Code clean-up. * jk/pack-name-cleanups: index-pack: make pointer-alias fallbacks safer replace snprintf with odb_pack_name() odb_pack_keep(): stop generating keepfile name sha1_file.c: make pack-name helper globally accessible move odb_* declarations out of git-compat-util.h
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index e626851fe9..8a4a3f85e7 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -798,8 +798,6 @@ extern FILE *xfopen(const char *path, const char *mode);
extern FILE *xfdopen(int fd, const char *mode);
extern int xmkstemp(char *template);
extern int xmkstemp_mode(char *template, int mode);
-extern int odb_mkstemp(char *template, size_t limit, const char *pattern);
-extern int odb_pack_keep(char *name, size_t namesz, const unsigned char *sha1);
extern char *xgetcwd(void);
extern FILE *fopen_for_writing(const char *path);