X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=tag.h;h=3e8c32d738ddad2538257b84830424a77b9aae7a;hb=180926636e47ecfe28d03cec493af75899994f0f;hp=41826870f87aaa2e45f34b825aa2c7c63aa81d80;hpb=bd2c39f58f915af532b488c5bda753314f0db603;p=git.git diff --git a/tag.h b/tag.h index 41826870..3e8c32d7 100644 --- a/tag.h +++ b/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);