Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc annotate that some functions use non-literal format...
details: https://anonhg.NetBSD.org/src/rev/6b18f3069430
branches: trunk
changeset: 768299:6b18f3069430
user: christos <christos%NetBSD.org@localhost>
date: Sun Aug 14 09:07:37 2011 +0000
description:
annotate that some functions use non-literal format strings.
diffstat:
lib/libc/locale/Makefile.inc | 4 +++-
lib/libc/time/Makefile.inc | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 6b5a88ee8a04 -r 6b18f3069430 lib/libc/locale/Makefile.inc
--- a/lib/libc/locale/Makefile.inc Sun Aug 14 09:07:15 2011 +0000
+++ b/lib/libc/locale/Makefile.inc Sun Aug 14 09:07:37 2011 +0000
@@ -1,5 +1,5 @@
# from: @(#)Makefile.inc 5.1 (Berkeley) 2/18/91
-# $NetBSD: Makefile.inc,v 1.58 2010/06/19 13:26:52 tnozaki Exp $
+# $NetBSD: Makefile.inc,v 1.59 2011/08/14 09:07:37 christos Exp $
# locale sources
.PATH: ${ARCHDIR}/locale ${.CURDIR}/locale
@@ -61,3 +61,5 @@
MLINKS+=wcstod.3 wcstof.3 wcstod.3 wcstold.3
MLINKS+=wcstol.3 wcstoll.3 wcstol.3 wcstoimax.3 \
wcstol.3 wcstoul.3 wcstol.3 wcstoull.3 wcstol.3 wcstoumax.3
+
+COPTS.wcsftime.c = -Wno-format-nonliteral
diff -r 6b5a88ee8a04 -r 6b18f3069430 lib/libc/time/Makefile.inc
--- a/lib/libc/time/Makefile.inc Sun Aug 14 09:07:15 2011 +0000
+++ b/lib/libc/time/Makefile.inc Sun Aug 14 09:07:37 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.16 2010/12/16 22:18:37 christos Exp $
+# $NetBSD: Makefile.inc,v 1.17 2011/08/14 09:07:37 christos Exp $
.PATH: ${.CURDIR}/time
@@ -34,3 +34,5 @@
tzset.3 daylight.3 \
tzset.3 tzsetwall.3 \
strftime.3 strftime_z.3
+
+COPTS.strftime.c = -Wno-format-nonliteral
Home |
Main Index |
Thread Index |
Old Index