summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>2007-04-25 14:18:08 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-25 20:15:59 (GMT)
commitefbc5831264fbe3696e6fc264bba9319265d7344 (patch)
tree1fc6fe6068ecef2c3ef956f332433dac6245b4ad /cache.h
parentcc2903fc70ea9e1bb7788a6f5f46b5d3dd1b6fe4 (diff)
downloadgit-efbc5831264fbe3696e6fc264bba9319265d7344.zip
git-efbc5831264fbe3696e6fc264bba9319265d7344.tar.gz
git-efbc5831264fbe3696e6fc264bba9319265d7344.tar.bz2
entry.c: Use const qualifier for 'struct checkout' parameters
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index f05b67a..38a0cbd 100644
--- a/cache.h
+++ b/cache.h
@@ -409,7 +409,7 @@ struct checkout {
refresh_cache:1;
};
-extern int checkout_entry(struct cache_entry *ce, struct checkout *state, char *topath);
+extern int checkout_entry(struct cache_entry *ce, const struct checkout *state, char *topath);
extern struct alternate_object_database {
struct alternate_object_database *next;