mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 04:47:14 +00:00
Add missing header prototypes
Fixes compiling errors with GCC using -Werror=missing-prototypes.
This commit is contained in:
1 parent
1c52093537
commit
5539b7a823
5 files changed
+77
-2
No files matched your search
@@ -62,7 +62,7 @@
|
||||
|
||||
static unsigned charTo4Bits(char c);
|
||||
#if defined(HAVE_GNUTLS)
|
||||
static BOOL check_gnutls_init();
|
||||
static BOOL check_gnutls_init(void);
|
||||
static void _nettle_md5_compress(uint32_t *digest, const uint8_t *input);
|
||||
#endif
|
||||
|
||||
@@ -742,7 +742,7 @@ static unsigned charTo4Bits(char c)
|
||||
#if defined(HAVE_GNUTLS)
|
||||
static BOOL didGlobalInit = NO;
|
||||
|
||||
static BOOL check_gnutls_init() {
|
||||
static BOOL check_gnutls_init(void) {
|
||||
if (!didGlobalInit) {
|
||||
/* Global system initialization*/
|
||||
if (gnutls_global_init()) {
|
||||
|
||||
Reference in new issue
Block a user