Browse Source

fix "useless trailing comma" cython warnings

Thomas Waldmann 3 years ago
parent
commit
15a57cd0bd
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/borg/algorithms/checksums.pyx

+ 6 - 6
src/borg/algorithms/checksums.pyx

@@ -27,14 +27,14 @@ cdef extern from "../algorithms/xxhash-libselect.h":
         XXH_OK,
         XXH_OK,
         XXH_ERROR
         XXH_ERROR
 
 
-    XXH64_hash_t XXH64(const void* input, size_t length, unsigned long long seed);
+    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 *:
 cdef Py_buffer ro_buffer(object data) except *: