git: 45f591e6ed5c - main - libmilter: Silence -Wdeprecated-non-prototype warnings.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Apr 2023 17:53:31 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=45f591e6ed5c4589c1e85561869771ede5fe085a commit 45f591e6ed5c4589c1e85561869771ede5fe085a Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-04-19 17:52:51 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-04-19 17:52:51 +0000 libmilter: Silence -Wdeprecated-non-prototype warnings. Missed this one when tagging other sendmail libraries. Fixes: 525438ea7147 sendmail: Silence -Wdeprecated-non-prototype warnings. --- lib/libmilter/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libmilter/Makefile b/lib/libmilter/Makefile index b3243c2a66cf..6f18d86b8385 100644 --- a/lib/libmilter/Makefile +++ b/lib/libmilter/Makefile @@ -40,3 +40,5 @@ sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA ln -sf ${.ALLSRC} ${.TARGET} .include <bsd.lib.mk> + +CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}