The declarations in http.h have the void, so the compiler is happy.
Still, this looks wrong.

Index: usr.sbin/acme-client/http.c
===================================================================
RCS file: /cvs/src/usr.sbin/acme-client/http.c,v
retrieving revision 1.30
diff -u -p -r1.30 http.c
--- usr.sbin/acme-client/http.c 14 Jul 2021 13:33:57 -0000      1.30
+++ usr.sbin/acme-client/http.c 13 Sep 2021 08:16:51 -0000
@@ -119,7 +119,7 @@ dotlswrite(const void *buf, size_t sz, c
 }
 
 int
-http_init()
+http_init(void)
 {
        if (tlscfg != NULL)
                return 0;
Index: usr.sbin/ocspcheck/http.c
===================================================================
RCS file: /cvs/src/usr.sbin/ocspcheck/http.c,v
retrieving revision 1.14
diff -u -p -r1.14 http.c
--- usr.sbin/ocspcheck/http.c   14 Jul 2021 13:33:57 -0000      1.14
+++ usr.sbin/ocspcheck/http.c   23 Aug 2021 11:15:42 -0000
@@ -119,7 +119,7 @@ dotlswrite(const void *buf, size_t sz, c
 }
 
 int
-http_init()
+http_init(void)
 {
        if (tlscfg != NULL)
                return 0;

Reply via email to