mirror of
https://github.com/reactos/ccache.git
synced 2024-12-02 16:46:24 +00:00
Let hash_buffer take a void* to avoid some casting
This commit is contained in:
parent
ede39e1eb7
commit
6331376531
2
ccache.h
2
ccache.h
@ -60,7 +60,7 @@ int hash_fd(struct mdfour *md, int fd);
|
||||
int hash_file(struct mdfour *md, const char *fname);
|
||||
char *hash_result(struct mdfour *md);
|
||||
void hash_result_as_bytes(struct mdfour *md, unsigned char *out);
|
||||
void hash_buffer(struct mdfour *md, const char *s, size_t len);
|
||||
void hash_buffer(struct mdfour *md, const void *s, size_t len);
|
||||
|
||||
void cc_log(const char *format, ...) ATTR_FORMAT(printf, 1, 2);
|
||||
void fatal(const char *format, ...) ATTR_FORMAT(printf, 1, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user