git: f80ddde258be - stable/13 - bearssl: Suppress warnings from functions that have no args

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 09 Apr 2023 21:35:29 UTC
The branch stable/13 has been updated by dim:

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

commit f80ddde258beb49d8e12a921743e5bbfdd226506
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-02-13 15:19:40 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-04-09 14:56:33 +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
    
    (cherry picked from commit 9768746ba83efa02837c5b9c66348db6e900208f)
---
 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}