]> git.meshlink.io Git - meshlink/blobdiff - src/xoshiro.h
Don't use assert() to check the results of pthread_*() calls.
[meshlink] / src / xoshiro.h
index fcd5192c0d1a49ea23f261d262303879ac19317a..c771c7b9209c16161bd732d12d4cd57c4351c337 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef MESHLINK_XOSHIRO_H
 #define MESHLINK_XOSHIRO_H
 
-extern uint64_t xoshiro(uint64_t s[4]);
+uint64_t xoshiro(uint64_t s[4]) __attribute__((__warn_unused_result__));
 
 #endif