less: Silence -Wdeprecated-non-prototype warnings.

This has an active upstream so will presumably be fixed upstream at
some point.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D39525
This commit is contained in:
John Baldwin 2023-04-18 11:26:08 -07:00
parent 2ac057dd33
commit 1bd44215d0
3 changed files with 6 additions and 2 deletions

View File

@ -19,7 +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>
CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}

View File

@ -6,3 +6,5 @@ CLEANFILES= lessecho.1
.include "${SRCTOP}/usr.bin/less/Makefile.common"
.include <bsd.prog.mk>
CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}

View File

@ -6,3 +6,5 @@ CLEANFILES= lesskey.1
.include "${SRCTOP}/usr.bin/less/Makefile.common"
.include <bsd.prog.mk>
CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}