]> tinc-vpn.org Git - tinc/blobdiff - src/prf.h
Disable function attributes on unsupported compilers
[tinc] / src / prf.h
index 7e5e4e6debb17ffd4a714f8db06842ba4e72ae36..2e60dff4b15aaf072d219704daa12cf0d98146f4 100644 (file)
--- a/src/prf.h
+++ b/src/prf.h
@@ -22,6 +22,6 @@
 
 #include "system.h"
 
-extern bool prf(const uint8_t *secret, size_t secretlen, uint8_t *seed, size_t seedlen, uint8_t *out, size_t outlen) __attribute__((__warn_unused_result__));
+extern bool prf(const uint8_t *secret, size_t secretlen, uint8_t *seed, size_t seedlen, uint8_t *out, size_t outlen) ATTR_WARN_UNUSED;
 
 #endif