summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-05-31 00:15:14 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-31 00:15:14 -0700
commitbd724be4bec4e75014e8e528a9c3c9a90b2d4488 (patch)
treeba3283d8a719924269bac8bb41e97b7bcae314a1 /cache.h
parentalways start looking up objects in the last used pack first (diff)
parentMerge branch 'maint-1.5.1' into maint (diff)
downloadtgif-bd724be4bec4e75014e8e528a9c3c9a90b2d4488.tar.xz
Merge branch 'maint'
* maint: git-config: Improve documentation of git-config file handling git-config: Various small fixes to asciidoc documentation decode_85(): fix missing return. fix signed range problems with hex conversions
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index ec85d93e0d..0da7070da4 100644
--- a/cache.h
+++ b/cache.h
@@ -359,8 +359,8 @@ extern void *map_sha1_file(const unsigned char *sha1, unsigned long *);
extern int has_pack_file(const unsigned char *sha1);
extern int has_pack_index(const unsigned char *sha1);
-extern signed char hexval_table[256];
-static inline unsigned int hexval(unsigned int c)
+extern const signed char hexval_table[256];
+static inline unsigned int hexval(unsigned char c)
{
return hexval_table[c];
}