network_parse.c: ansify function definition
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 2 May 2018 10:17:13 +0000 (12:17 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 2 May 2018 10:17:13 +0000 (12:17 +0200)
src/libcollectdclient/network_parse.c

index ce1bebc..14c1b28 100644 (file)
@@ -68,7 +68,7 @@ static int network_parse(void *data, size_t data_size, lcc_security_level_t sl,
                          lcc_network_parse_options_t const *opts);
 
 #if HAVE_GCRYPT_H
-static int init_gcrypt() {
+static int init_gcrypt(void) {
   /* http://lists.gnupg.org/pipermail/gcrypt-devel/2003-August/000458.html
    * Because you can't know in a library whether another library has
    * already initialized the library */