aboutsummaryrefslogtreecommitdiff
path: root/include/olm/olm.h
diff options
context:
space:
mode:
authormanuroe <manu@matrix.org>2018-06-25 17:57:03 +0200
committerHubert Chathi <hubert@uhoreg.ca>2018-06-27 12:25:27 -0400
commit9d81046f90b4afba7e71b86c564cae07daab61ad (patch)
treed5d3f47faaeeeaa64858c4867a2aea56d21fcbd3 /include/olm/olm.h
parentddc981c475ba576ae22617886ac6ce6d22ba1fc6 (diff)
Fix warnings reported by LLVM
Diffstat (limited to 'include/olm/olm.h')
-rw-r--r--include/olm/olm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/olm/olm.h b/include/olm/olm.h
index 5764eb2..838d817 100644
--- a/include/olm/olm.h
+++ b/include/olm/olm.h
@@ -39,13 +39,13 @@ typedef struct OlmUtility OlmUtility;
void olm_get_library_version(uint8_t *major, uint8_t *minor, uint8_t *patch);
/** The size of an account object in bytes */
-size_t olm_account_size();
+size_t olm_account_size(void);
/** The size of a session object in bytes */
-size_t olm_session_size();
+size_t olm_session_size(void);
/** The size of a utility object in bytes */
-size_t olm_utility_size();
+size_t olm_utility_size(void);
/** Initialise an account object using the supplied memory
* The supplied memory must be at least olm_account_size() bytes */
@@ -66,7 +66,7 @@ OlmUtility * olm_utility(
);
/** The value that olm will return from a function if there was an error */
-size_t olm_error();
+size_t olm_error(void);
/** A null terminated string describing the most recent error to happen to an
* account */