From: Baptiste Daroussin Date: Thu, 9 Feb 2023 15:14:57 +0000 (+0100) Subject: Fix prototype X-Git-Tag: RELEASE_1_4_0b1~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e442ac93cf6f29315326e7e7aef942e5a9c0bb;p=thirdparty%2Fmlmmj.git Fix prototype --- diff --git a/src/strgen.c b/src/strgen.c index d0d6aeb4..79efe270 100644 --- a/src/strgen.c +++ b/src/strgen.c @@ -39,7 +39,7 @@ #include "wrappers.h" #include "log_error.h" -char *random_str() +char *random_str(void) { char *dest; @@ -98,7 +98,7 @@ char *concatstr(int count, ...) return retstr; } -char *hostnamestr() +char *hostnamestr(void) { struct hostent *hostlookup; char *hostname = NULL;