X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Futil.h;h=b459afd8eee8eccd1f00d7e5a1bb7e2d7124f9dc;hb=64f1e9b6bb2bb4d5b16240ae731bd8a84117cc98;hp=73f86ed4f9ce252e16d06c7dae7069171c2461ce;hpb=038eaccece575d04de8d647bb93773b7f3e38ce4;p=wimlib diff --git a/src/util.h b/src/util.h index 73f86ed4..b459afd8 100644 --- a/src/util.h +++ b/src/util.h @@ -124,12 +124,10 @@ extern char *utf16_to_utf8(const char *utf16_str, size_t utf16_len, extern char *utf8_to_utf16(const char *utf8_str, size_t utf8_len, size_t *utf16_len_ret); -extern void randomize_byte_array(void *p, size_t n); +extern void randomize_byte_array(u8 *p, size_t n); extern void randomize_char_array_with_alnum(char p[], size_t n); -extern int sha1sum(const char *filename, void *buf); - extern const char *path_next_part(const char *path, size_t *first_part_len_ret);