aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-08 14:21:39 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-08 14:21:39 -0700
commit1e274ef2ba7d345f1bc469f46030f871aa348863 (patch)
tree0784d25de705828e7c3d189c357a8047b9e6dcb0 /cache.h
parenta220e2bbbfb325fee6c1ffb1dcdf415bfcd59ae5 (diff)
parentb333d0d6f450d4f9c4535fd9fd6e0f4ef367507c (diff)
downloadgit-1e274ef2ba7d345f1bc469f46030f871aa348863.tar.gz
git-1e274ef2ba7d345f1bc469f46030f871aa348863.tar.xz
Merge branch 'jk/send-pack-stdio' into maint
Code clean-up. * jk/send-pack-stdio: write_or_die: remove the unused write_or_whine() function send-pack: use buffered I/O to talk to pack-objects
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index a4465cb6a..726543958 100644
--- a/cache.h
+++ b/cache.h
@@ -1721,7 +1721,6 @@ extern int copy_file(const char *dst, const char *src, int mode);
extern int copy_file_with_time(const char *dst, const char *src, int mode);
extern void write_or_die(int fd, const void *buf, size_t count);
-extern int write_or_whine(int fd, const void *buf, size_t count, const char *msg);
extern int write_or_whine_pipe(int fd, const void *buf, size_t count, const char *msg);
extern void fsync_or_die(int fd, const char *);