aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-06 13:38:07 -0700
committerJunio C Hamano <gitster@pobox.com>2016-07-06 13:38:07 -0700
commit7e58b8166e6ac191739cf9001e73b2157f3aead5 (patch)
treeefb598bf1e66acd5d7dc54934bc43c876e7ad20a /cache.h
parent7758b02b44318cd637f0608d02562d7982bad42d (diff)
parentb333d0d6f450d4f9c4535fd9fd6e0f4ef367507c (diff)
downloadgit-7e58b8166e6ac191739cf9001e73b2157f3aead5.tar.gz
git-7e58b8166e6ac191739cf9001e73b2157f3aead5.tar.xz
Merge branch 'jk/send-pack-stdio'
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 c73becbf2..c42a7fab4 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 *);