diff --git a/uECC.c b/uECC.c index 684d32f..c7a5286 100644 --- a/uECC.c +++ b/uECC.c @@ -2380,12 +2380,12 @@ int uECC_verify(const uint8_t p_publicKey[uECC_BYTES*2], const uint8_t p_hash[uE return vli_equal(rx, r); } -int uECC_bytes() +int uECC_bytes(void) { return uECC_BYTES; } -int uECC_curve() +int uECC_curve(void) { return uECC_CURVE; } diff --git a/uECC.h b/uECC.h index 2a41772..18c1adb 100644 --- a/uECC.h +++ b/uECC.h @@ -179,24 +179,14 @@ Returns 1 if the public key is valid, 0 if it is invalid. int uECC_valid_public_key(const uint8_t p_publicKey[uECC_BYTES*2]); /* uECC_bytes() function. -Return the value of uECC_BYTES. Helpful for foreign-interfaces to higher-level languages. - -Inputs: - (none) - -Returns the value of uECC_BYTES +Returns the value of uECC_BYTES. Helpful for foreign-interfaces to higher-level languages. */ -int uECC_bytes(); +int uECC_bytes(void); /* uECC_curve() function. -Return the value of uECC_CURVE. Helpful for foreign-interfaces to higher-level languages. - -Inputs: - (none) - -Returns the value of uECC_CURVE +Returns the value of uECC_CURVE. Helpful for foreign-interfaces to higher-level languages. */ -int uECC_curve(); +int uECC_curve(void); #ifdef __cplusplus } /* end of extern "C" */