[PATCH] Anal retentive 'const unsigned char *sha1'
Make 'sha1' parameters const where possible Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e0f0e891c1
commit
5d6ccf5ce7
2
tag.h
2
tag.h
@ -12,7 +12,7 @@ struct tag {
|
||||
char *signature; /* not actually implemented */
|
||||
};
|
||||
|
||||
extern struct tag *lookup_tag(unsigned char *sha1);
|
||||
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(struct tag *item);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user