소스 검색

fix "useless trailing comma" cython warnings

Thomas Waldmann 3 년 전
부모
커밋
15a57cd0bd
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 *: