git: 3451ed888e75 - main - less: silence K&R warns

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Thu, 16 Mar 2023 18:24:35 UTC
The branch main has been updated by mjg:

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

commit 3451ed888e7519ba620e7372ba620500c47bdc8a
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-03-16 18:24:12 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-03-16 18:24:12 +0000

    less: silence K&R warns
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 usr.bin/less/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.bin/less/Makefile b/usr.bin/less/Makefile
index 27415573a8ee..ca9d948e1e4f 100644
--- a/usr.bin/less/Makefile
+++ b/usr.bin/less/Makefile
@@ -19,5 +19,7 @@ LINKS=	${BINDIR}/less ${BINDIR}/more \
 MLINKS=	less.1 more.1
 CLEANFILES= less.1
 
+CFLAGS+=	${NO_WDEPRECATED_NON_PROTOTYPE}
+
 .include "Makefile.common"
 .include <bsd.prog.mk>