diff options
author | Jim Meyering <jim@meyering.net> | 2007-04-10 00:56:33 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-11 00:51:20 -0700 |
commit | f98157720239f0dd94d03632dc873e3eb3135e2f (patch) | |
tree | 9eb9713412e50f5a981ddfe862513e85830d6ecd /base85.c | |
parent | 8bd26c4a2f7539f6418934858710c674bb139cdd (diff) | |
download | git-f98157720239f0dd94d03632dc873e3eb3135e2f.tar.gz |
(encode_85, decode_85): Mark source buffer pointer as "const".
Signed-off-by: Jim Meyering <jim@meyering.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'base85.c')
-rw-r--r-- | base85.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ static void prep_base85(void) } } -int decode_85(char *dst, char *buffer, int len) +int decode_85(char *dst, const char *buffer, int len) { prep_base85(); @@ -82,7 +82,7 @@ int decode_85(char *dst, char *buffer, int len) 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(); |