diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2018-06-28 17:13:52 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2018-06-28 17:13:52 -0400 |
commit | dac2c1064e6777c2bade517fd92d95669a897702 (patch) | |
tree | 81480943b91e88e9cab5bab3db34f9a804c16179 /src | |
parent | f709b062bb8dfebff3dd428fe468cf15a864c7fd (diff) |
use void in type signatures for functions with no arguments
Diffstat (limited to 'src')
-rw-r--r-- | src/pk.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -43,7 +43,7 @@ const char * olm_pk_encryption_last_error( return _olm_error_to_string(error); } -size_t olm_pk_encryption_size() { +size_t olm_pk_encryption_size(void) { return sizeof(OlmPkEncryption); } @@ -155,7 +155,7 @@ const char * olm_pk_decryption_last_error( return _olm_error_to_string(error); } -size_t olm_pk_decryption_size() { +size_t olm_pk_decryption_size(void) { return sizeof(OlmPkDecryption); } @@ -176,11 +176,11 @@ size_t olm_clear_pk_decryption( return sizeof(OlmPkDecryption); } -size_t olm_pk_generate_key_random_length() { +size_t olm_pk_generate_key_random_length(void) { return CURVE25519_KEY_LENGTH; } -size_t olm_pk_key_length() { +size_t olm_pk_key_length(void) { return olm::encode_base64_length(CURVE25519_KEY_LENGTH); } |