Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/tftp tftp: no longer need packed member warning



details:   https://anonhg.NetBSD.org/src/rev/d2439b6ea94c
branches:  trunk
changeset: 959166:d2439b6ea94c
user:      roy <roy%NetBSD.org@localhost>
date:      Wed Feb 03 06:51:26 2021 +0000

description:
tftp: no longer need packed member warning

diffstat:

 usr.bin/tftp/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r fd7311320198 -r d2439b6ea94c usr.bin/tftp/Makefile
--- a/usr.bin/tftp/Makefile     Wed Feb 03 06:50:07 2021 +0000
+++ b/usr.bin/tftp/Makefile     Wed Feb 03 06:51:26 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2020/09/07 00:26:24 mrg Exp $
+#      $NetBSD: Makefile,v 1.15 2021/02/03 06:51:26 roy Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/6/93
 
 WARNS?=2
@@ -8,8 +8,7 @@
 PROG=  tftp
 SRCS=  main.c tftp.c tftpsubs.c
 
-CWARNFLAGS.gcc+=       ${GCC_NO_ADDR_OF_PACKED_MEMBER} \
-                       ${GCC_NO_STRINGOP_OVERFLOW} \
+CWARNFLAGS.gcc+=       ${GCC_NO_STRINGOP_OVERFLOW} \
                        ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 8:? -Wno-array-bounds :}
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index