summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/arch.h2
-rw-r--r--common/ssl_calls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/arch.h b/common/arch.h
index 7070d6ae..dfeaa596 100644
--- a/common/arch.h
+++ b/common/arch.h
@@ -140,7 +140,7 @@ typedef signed long long tsi64;
#ifdef __cplusplus
extern "C" {
#endif
- tintptr mod_init();
+ tintptr mod_init(void);
int mod_exit(tintptr);
#ifdef __cplusplus
}
diff --git a/common/ssl_calls.c b/common/ssl_calls.c
index 72ab5eb7..102c6e39 100644
--- a/common/ssl_calls.c
+++ b/common/ssl_calls.c
@@ -42,7 +42,7 @@
#if OPENSSL_VERSION_NUMBER < 0x10100000L
static inline HMAC_CTX *
-HMAC_CTX_new()
+HMAC_CTX_new(void)
{
HMAC_CTX *hmac_ctx = g_new(HMAC_CTX, 1);
HMAC_CTX_init(hmac_ctx);