Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/top/bin document that display.c uses non-litera...



details:   https://anonhg.NetBSD.org/src/rev/9d6edf9e4812
branches:  trunk
changeset: 768317:9d6edf9e4812
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 14 12:48:02 2011 +0000

description:
document that display.c uses non-literal format strings

diffstat:

 external/bsd/top/bin/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r c0d9514c6e66 -r 9d6edf9e4812 external/bsd/top/bin/Makefile
--- a/external/bsd/top/bin/Makefile     Sun Aug 14 12:42:19 2011 +0000
+++ b/external/bsd/top/bin/Makefile     Sun Aug 14 12:48:02 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2010/02/03 15:34:38 roy Exp $
+#      $NetBSD: Makefile,v 1.6 2011/08/14 12:48:02 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -36,4 +36,5 @@
 config.h: config.h.in
        ${TOOL_SED} -e s/@MACHINE@/${MACHINE}/ < $? > $@
 
+COPTS.display.c = -Wno-format-nonliteral
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index