diff options
author | Junio C Hamano <junkio@cox.net> | 2006-09-01 00:17:47 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-01 00:24:06 -0700 |
commit | 839837b953c613c1649b9e36ec2f01da759d87e3 (patch) | |
tree | f654511cb7b6ab92d17bc65cdb87321deeb3553b /cache.h | |
parent | 1d3fc68ae711b3f46aea02f8d819423cf8780b7d (diff) | |
download | git-839837b953c613c1649b9e36ec2f01da759d87e3.tar.gz |
Constness tightening for move/link_temp_to_file()
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ extern int check_sha1_signature(const unsigned char *sha1, void *buf, unsigned l extern int write_sha1_from_fd(const unsigned char *sha1, int fd, char *buffer, size_t bufsize, size_t *bufposn); extern int write_sha1_to_fd(int fd, const unsigned char *sha1); -extern int move_temp_to_file(const char *tmpfile, char *filename); +extern int move_temp_to_file(const char *tmpfile, const char *filename); extern int has_sha1_pack(const unsigned char *sha1); extern int has_sha1_file(const unsigned char *sha1); |