Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpam/libpam libpam: clean up LINTFLAGS
details: https://anonhg.NetBSD.org/src/rev/aebe6fcd6dcf
branches: trunk
changeset: 1022881:aebe6fcd6dcf
user: rillig <rillig%NetBSD.org@localhost>
date: Wed Aug 11 05:23:05 2021 +0000
description:
libpam: clean up LINTFLAGS
Warning 346 is new, the other suppressions are not needed anymore.
diffstat:
lib/libpam/libpam/Makefile | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (26 lines):
diff -r 174256a253fe -r aebe6fcd6dcf lib/libpam/libpam/Makefile
--- a/lib/libpam/libpam/Makefile Wed Aug 11 05:19:32 2021 +0000
+++ b/lib/libpam/libpam/Makefile Wed Aug 11 05:23:05 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2020/05/23 00:43:33 rin Exp $
+# $NetBSD: Makefile,v 1.27 2021/08/11 05:23:05 rillig Exp $
#-
# Copyright (c) 1998 Juniper Networks, Inc.
# All rights reserved.
@@ -51,12 +51,11 @@
DIST= ${NETBSDSRCDIR}/external/bsd/openpam/dist
LIB= pam
NOPROFILE=
-# XXX: returns no value
-#LINTFLAGS+= -X 217 -X 284
-WARNS= 6
-# 233: Struct/union never defined
-LINTFLAGS+= -Sw -X 233
+WARNS= 6
+LINTFLAGS+= -w
+# warning: call to 'strchr' effectively discards 'const' from argument
+LINTFLAGS.pam_putenv.c+= -X 346
CPPFLAGS+= -DLIB_MAJ=${SHLIB_MAJOR} -DHAVE_CONFIG_H -I${.CURDIR}
#CPPFLAGS+= -DOPENPAM_DEBUG
Home |
Main Index |
Thread Index |
Old Index