git: 9768746ba83e - main - bearssl: Suppress warnings from functions that have no args
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Feb 2023 15:23:17 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=9768746ba83efa02837c5b9c66348db6e900208f
commit 9768746ba83efa02837c5b9c66348db6e900208f
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-02-13 15:19:40 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-02-13 15:19:40 +0000
bearssl: Suppress warnings from functions that have no args
clag15 is much pickier than others, so suppress the warning until
upstream can be updated.
Sponsored by: Netflix
---
lib/libbearssl/Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libbearssl/Makefile.inc b/lib/libbearssl/Makefile.inc
index dd0e242c8ef0..2af4864d8441 100644
--- a/lib/libbearssl/Makefile.inc
+++ b/lib/libbearssl/Makefile.inc
@@ -4,4 +4,4 @@ BEARSSL?= ${SRCTOP}/contrib/bearssl
BEARSSL_SRC= ${BEARSSL}/src
CFLAGS+= -I${BEARSSL}/inc
-
+CFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}