Skip to content

Commit 70a3c14

Browse files
Merge pull request #6424 from ThomasWaldmann/fix-cython-warnings-1.1
fix "useless trailing comma" cython warnings
2 parents ae24d52 + 15a57cd commit 70a3c14

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/borg/algorithms/checksums.pyx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ cdef extern from "../algorithms/xxhash-libselect.h":
2727
XXH_OK,
2828
XXH_ERROR
2929

30-
XXH64_hash_t XXH64(const void* input, size_t length, unsigned long long seed);
30+
XXH64_hash_t XXH64(const void* input, size_t length, unsigned long long seed)
3131

32-
XXH_errorcode XXH64_reset(XXH64_state_t* statePtr, unsigned long long seed);
33-
XXH_errorcode XXH64_update(XXH64_state_t* statePtr, const void* input, size_t length);
34-
XXH64_hash_t XXH64_digest(const XXH64_state_t* statePtr);
32+
XXH_errorcode XXH64_reset(XXH64_state_t* statePtr, unsigned long long seed)
33+
XXH_errorcode XXH64_update(XXH64_state_t* statePtr, const void* input, size_t length)
34+
XXH64_hash_t XXH64_digest(const XXH64_state_t* statePtr)
3535

36-
void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash);
37-
XXH64_hash_t XXH64_hashFromCanonical(const XXH64_canonical_t* src);
36+
void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash)
37+
XXH64_hash_t XXH64_hashFromCanonical(const XXH64_canonical_t* src)
3838

3939

4040
cdef Py_buffer ro_buffer(object data) except *:

0 commit comments

Comments
 (0)