]> git.meshlink.io Git - meshlink/blobdiff - src/ecdh.h
Fix more compiler warnings.
[meshlink] / src / ecdh.h
index eb66ec0d17713bcd706ce747b60aef1b5a8ceeb4..ea4a841ad30d224fb89023689c8ce2f43ee78abc 100644 (file)
@@ -27,8 +27,8 @@
 typedef struct ecdh ecdh_t;
 #endif
 
-extern ecdh_t *ecdh_generate_public(void *pubkey) __attribute__((__malloc__));
-extern bool ecdh_compute_shared(ecdh_t *ecdh, const void *pubkey, void *shared) __attribute__((__warn_unused_result__));
-extern void ecdh_free(ecdh_t *ecdh);
+ecdh_t *ecdh_generate_public(void *pubkey) __attribute__((__malloc__));
+bool ecdh_compute_shared(ecdh_t *ecdh, const void *pubkey, void *shared) __attribute__((__warn_unused_result__));
+void ecdh_free(ecdh_t *ecdh);
 
 #endif