summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-12 09:47:36 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-12 09:47:36 -0700
commit6d4960ac7d360744fe5bac39cb90697d81128565 (patch)
tree5361b8a4d9eacc3e1174092efcc0aa7ca2bf40a1 /cache.h
parent8a5ad2ba5bacd84c10ec62b0cf5a67d0f147746e (diff)
parent6f25305799f0bbddbac1d678293e8c5cf404deb3 (diff)
downloadgit-6d4960ac7d360744fe5bac39cb90697d81128565.tar.gz
Merge branch 'jk/trace-fixup'
Various small fixups to the "GIT_TRACE" facility. * jk/trace-fixup: trace: do not fall back to stderr write_or_die: drop write_or_whine_pipe() trace: disable key after write error trace: correct variable name in write() error message trace: cosmetic fixes for error messages trace: use warning() for printing trace errors trace: stop using write_or_whine_pipe() trace: handle NULL argument in trace_disable()
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 95a0bd397a..b780a91a56 100644
--- a/cache.h
+++ b/cache.h
@@ -1756,7 +1756,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_pipe(int fd, const void *buf, size_t count, const char *msg);
extern void fsync_or_die(int fd, const char *);
extern ssize_t read_in_full(int fd, void *buf, size_t count);