aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>2007-04-25 11:18:08 -0300
committerJunio C Hamano <junkio@cox.net>2007-04-25 13:15:59 -0700
commitefbc5831264fbe3696e6fc264bba9319265d7344 (patch)
tree1fc6fe6068ecef2c3ef956f332433dac6245b4ad /cache.h
parentcc2903fc70ea9e1bb7788a6f5f46b5d3dd1b6fe4 (diff)
downloadgit-efbc5831264fbe3696e6fc264bba9319265d7344.tar.gz
git-efbc5831264fbe3696e6fc264bba9319265d7344.tar.xz
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 f05b67ad4..38a0cbd58 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;