X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fdivsufsort.h;h=8ec81a9f652d6e882b9dadea2eae15d6964be95b;hb=d42ff1590b4cae74da995e61896c1fa97c9126b9;hp=287c012df7bb282801ed0192008fbdecc5b87878;hpb=4dd45340f9fe3a533e0f1a9d6b79f8118e45ca2a;p=wimlib diff --git a/include/wimlib/divsufsort.h b/include/wimlib/divsufsort.h index 287c012d..8ec81a9f 100644 --- a/include/wimlib/divsufsort.h +++ b/include/wimlib/divsufsort.h @@ -4,9 +4,8 @@ #include "wimlib/types.h" extern void -divsufsort(const u8 *T, u32 *SA, u32 n, u32 *bucket_A, u32 *bucket_B); +divsufsort(const u8 *T, u32 *SA, u32 n, u32 *tmp); -#define DIVSUFSORT_TMP1_LEN (256) /* bucket_A */ -#define DIVSUFSORT_TMP2_LEN (256 * 256) /* bucket_B */ +#define DIVSUFSORT_TMP_LEN (256 + (256 * 256)) #endif /* _WIMLIB_DIVSUFSORT_H */