Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>2007-04-25 18:18:08 +0400
committerJunio C Hamano <junkio@cox.net>2007-04-26 00:15:59 +0400
commitefbc5831264fbe3696e6fc264bba9319265d7344 (patch)
tree1fc6fe6068ecef2c3ef956f332433dac6245b4ad /cache.h
parentcc2903fc70ea9e1bb7788a6f5f46b5d3dd1b6fe4 (diff)
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 f05b67ad45..38a0cbd580 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;