summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8bd26c4)
raw | patch | inline | side by side (parent: 8bd26c4)
author | Jim Meyering <jim@meyering.net> | |
Mon, 9 Apr 2007 22:56:33 +0000 (00:56 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 11 Apr 2007 07:51:20 +0000 (00:51 -0700) |
Signed-off-by: Jim Meyering <jim@meyering.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
base85.c | patch | blob | history | |
cache.h | patch | blob | history |
diff --git a/base85.c b/base85.c
index a9e97f89d9beb51ffd7c8f0be828b8c85358a1ef..a6c41d597ab8eccb5eb2ccf2b3b543398c360b44 100644 (file)
--- a/base85.c
+++ b/base85.c
}
}
-int decode_85(char *dst, char *buffer, int len)
+int decode_85(char *dst, const char *buffer, int len)
{
prep_base85();
return 0;
}
-void encode_85(char *buf, unsigned char *data, int bytes)
+void encode_85(char *buf, const unsigned char *data, int bytes)
{
prep_base85();
index 384b260227dfb2fa30ecc175681b9b8d73a3577a..1904131f27c2b41609c505fb8f73143619c133fa 100644 (file)
--- a/cache.h
+++ b/cache.h
extern int pager_use_color;
/* base85 */
-int decode_85(char *dst, char *line, int linelen);
-void encode_85(char *buf, unsigned char *data, int bytes);
+int decode_85(char *dst, const char *line, int linelen);
+void encode_85(char *buf, const unsigned char *data, int bytes);
/* alloc.c */
struct blob;