浏览代码

Merge pull request #6424 from ThomasWaldmann/fix-cython-warnings-1.1

fix "useless trailing comma" cython warnings
TW 3 年之前
父节点
当前提交
70a3c14313
共有 1 个文件被更改,包括 6 次插入6 次删除
  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_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 *: