libpam: clean up LINTFLAGS
Warning 346 is new, the other suppressions are not needed anymore.
This commit is contained in:
parent
b28f961044
commit
80321d1c1f
|
@ -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 @@ MKPICLIB=yes
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue