diff options
author | Mina Galić <freebsd@igalic.co> | 2023-02-23 11:14:41 +0000 |
---|---|---|
committer | Gordon Bergling <gbe@FreeBSD.org> | 2023-04-14 07:38:38 +0000 |
commit | b584a79fa7e43837b968a8ef602f9e6b93a5aee7 (patch) | |
tree | e44018f77fe47289c80a5b2388a491aae50b9dcf | |
parent | fbdf463375fa3fd57a76caa036efe7ec6a77a7c5 (diff) | |
download | src-b584a79fa7e43837b968a8ef602f9e6b93a5aee7.tar.gz src-b584a79fa7e43837b968a8ef602f9e6b93a5aee7.zip |
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)
-rw-r--r-- | sbin/veriexec/veriexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |