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>
This commit is contained in:

committed by
Junio C Hamano

parent
cc2903fc70
commit
efbc583126
2
cache.h
2
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;
|
||||
|
Reference in New Issue
Block a user