X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fecdh.h;h=ea4a841ad30d224fb89023689c8ce2f43ee78abc;hb=4b6c01b1d5383b1a7417244a31ad4652aab2d5db;hp=eb66ec0d17713bcd706ce747b60aef1b5a8ceeb4;hpb=61d9b04f66055e61f0afdf8955ff890f4da39288;p=meshlink diff --git a/src/ecdh.h b/src/ecdh.h index eb66ec0d..ea4a841a 100644 --- a/src/ecdh.h +++ b/src/ecdh.h @@ -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