git: 95a2b4d17234 - main - sendmail: silence K&R warns
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Mar 2023 18:19:08 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=95a2b4d17234fb78177add37c8882d133855c3d0
commit 95a2b4d17234fb78177add37c8882d133855c3d0
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-03-16 18:18:48 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-03-16 18:18:48 +0000
sendmail: silence K&R warns
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
usr.sbin/sendmail/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile
index 3a74a200f2ed..12e58ac3df5e 100644
--- a/usr.sbin/sendmail/Makefile
+++ b/usr.sbin/sendmail/Makefile
@@ -62,6 +62,8 @@ CFLAGS+= -DTCPWRAPPERS
LIBADD+= wrap
.endif
+CFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}
+
# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}
DPADD+=${SENDMAIL_DPADD}