Add missing header prototypes

Fixes compiling errors with GCC using -Werror=missing-prototypes.
This commit is contained in:
Patrice Levesque committed 2016-02-08 16:14:33 -05:00
1 parent 1c52093537
commit 5539b7a823
5 files changed
+77 -2

No files matched your search

+2 -2
View File
@@ -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()) {