git: bda1244f0193 - stable/13 - sendmail: silence K&R warns

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

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

commit bda1244f0193ba23ad20c721796ec58b2bb7d991
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-03-16 18:18:48 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-04-09 14:56:45 +0000

    sendmail: silence K&R warns
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit 95a2b4d17234fb78177add37c8882d133855c3d0)
---
 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}