From f0bf5915c56185f2cfc4f27697010e01aed79c33 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 8 Mar 2022 21:15:24 +0100 Subject: [PATCH] fix "useless trailing comma" cython warnings --- src/borg/algorithms/checksums.pyx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/borg/algorithms/checksums.pyx b/src/borg/algorithms/checksums.pyx index c2c773d6d..4fcddbb7b 100644 --- a/src/borg/algorithms/checksums.pyx +++ b/src/borg/algorithms/checksums.pyx @@ -25,16 +25,16 @@ cdef extern from "xxhash.h": XXH_OK, XXH_ERROR - XXH64_state_t* XXH64_createState(); - XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr); - XXH64_hash_t XXH64(const void* input, size_t length, unsigned long long seed); + XXH64_state_t* XXH64_createState() + XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr) + XXH64_hash_t XXH64(const void* input, size_t length, unsigned long long seed) - XXH_errorcode XXH64_reset(XXH64_state_t* statePtr, unsigned long long seed); - XXH_errorcode XXH64_update(XXH64_state_t* statePtr, const void* input, size_t length); - XXH64_hash_t XXH64_digest(const XXH64_state_t* statePtr); + XXH_errorcode XXH64_reset(XXH64_state_t* statePtr, unsigned long long seed) + XXH_errorcode XXH64_update(XXH64_state_t* statePtr, const void* input, size_t length) + XXH64_hash_t XXH64_digest(const XXH64_state_t* statePtr) - void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash); - XXH64_hash_t XXH64_hashFromCanonical(const XXH64_canonical_t* src); + void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash) + XXH64_hash_t XXH64_hashFromCanonical(const XXH64_canonical_t* src) cdef Py_buffer ro_buffer(object data) except *: