Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2023 11:15:22 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7e2af4f90bb1 - main - veriexec(4): Fix a compiler error
Message-ID:  <202302231115.31NBFMVe003166@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302231115.31NBFMVe003166>