diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-03-28 13:52:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-28 13:52:25 -0700 |
commit | ba5e05ffeff03c4835d0618ab34acb97ef753d0c (patch) | |
tree | cebbf61ffff3b9556ba381bd8cdd61b71b81f962 /git-compat-util.h | |
parent | 8f71209d1e447daf9db643df7ad01a8b49b9bcb7 (diff) | |
parent | f20754802a280c57a1e5886605b6805bbf040c63 (diff) | |
download | git-ba5e05ffeff03c4835d0618ab34acb97ef753d0c.tar.gz |
Merge branch 'jk/pack-name-cleanups' into maint
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.h | 2 |
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); |