]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Fix prototype
authorBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 9 Feb 2023 15:14:57 +0000 (16:14 +0100)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 9 Feb 2023 15:14:57 +0000 (16:14 +0100)
src/strgen.c

index d0d6aeb467ddfb1eb45e989e366ac2f116ab03fd..79efe2707fc1c872879eb4f7e947d1a72b900e92 100644 (file)
@@ -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;