git: 6f2a60511cef - stable/13 - less: silence K&R warns
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 21:35:33 UTC
The branch stable/13 has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=6f2a60511cefcd38cb59c2368844861c95f65f64
commit 6f2a60511cefcd38cb59c2368844861c95f65f64
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-03-16 18:24:12 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-04-09 14:56:53 +0000
less: silence K&R warns
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit 3451ed888e7519ba620e7372ba620500c47bdc8a)
---
usr.bin/less/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/usr.bin/less/Makefile b/usr.bin/less/Makefile
index 012554401d20..4719da5eaaed 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>