summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-07-06 13:38:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-06 13:38:07 -0700
commit7e58b8166e6ac191739cf9001e73b2157f3aead5 (patch)
treeefb598bf1e66acd5d7dc54934bc43c876e7ad20a /cache.h
parentMerge branch 'pb/commit-editmsg-path' (diff)
parentwrite_or_die: remove the unused write_or_whine() function (diff)
downloadtgif-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 c73becbf2d..c42a7fab4c 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 *);