git: 7e2af4f90bb1 - main - veriexec(4): Fix a compiler error

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Thu, 23 Feb 2023 11:15:22 UTC
The branch main has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=7e2af4f90bb1dca907ce024324b1e64c48ca4472

commit 7e2af4f90bb1dca907ce024324b1e64c48ca4472
Author:     Mina Galić <freebsd@igalic.co>
AuthorDate: 2023-02-23 11:14:41 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-02-23 11:14:41 +0000

    veriexec(4): Fix a compiler error
    
    When building WITH_BEARSSL=1 veriexec(4) failes to compile.
    So update the function prototype so that veriexec(4)
    compiles again.
    
    Reported by:    gbe
    Reviewed by:    mjg, gbe
    Approved by:    mjg
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/657
---
 sbin/veriexec/veriexec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/veriexec/veriexec.c b/sbin/veriexec/veriexec.c
index 0162eeda5347..407100ab48f1 100644
--- a/sbin/veriexec/veriexec.c
+++ b/sbin/veriexec/veriexec.c
@@ -50,7 +50,7 @@ const char *Cdir = NULL;
  * @return always returns code 0
  */
 static int
-veriexec_usage()
+veriexec_usage(void)
 {
 	printf("%s",
 	    "Usage:\tveriexec [-h] [-i state] [-C] [-xv state|verbosity] [path]\n");