mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Add const to parse_{commit,tag}_buffer()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
a2b7a3b3a9
commit
cf7b1cad0e
2
tag.h
2
tag.h
@@ -13,7 +13,7 @@ struct tag {
|
||||
};
|
||||
|
||||
extern struct tag *lookup_tag(const unsigned char *sha1);
|
||||
extern int parse_tag_buffer(struct tag *item, void *data, unsigned long size);
|
||||
extern int parse_tag_buffer(struct tag *item, const void *data, unsigned long size);
|
||||
extern int parse_tag(struct tag *item);
|
||||
extern struct object *deref_tag(struct object *, const char *, int);
|
||||
extern size_t parse_signature(const char *buf, unsigned long size);
|
||||
|
||||
Reference in New Issue
Block a user