git: b584a79fa7e4 - stable/13 - veriexec(4): Fix a compiler error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Apr 2023 07:38:56 UTC
The branch stable/13 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=b584a79fa7e43837b968a8ef602f9e6b93a5aee7
commit b584a79fa7e43837b968a8ef602f9e6b93a5aee7
Author: Mina Galić <freebsd@igalic.co>
AuthorDate: 2023-02-23 11:14:41 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-04-14 07:38:38 +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
(cherry picked from commit 7e2af4f90bb1dca907ce024324b1e64c48ca4472)
---
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");