Module Name: src Committed By: rillig Date: Sat Apr 1 09:08:11 UTC 2023
Modified Files: src/lib/libkvm: Makefile Log Message: libkvm: suppress lint warnings about extern declarations for now This should be properly fixed by someone who is familiar with libkvm, as it affects <sys/cpu_data.h> as well. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/lib/libkvm/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libkvm/Makefile diff -u src/lib/libkvm/Makefile:1.51 src/lib/libkvm/Makefile:1.52 --- src/lib/libkvm/Makefile:1.51 Sun Jan 24 16:07:48 2016 +++ src/lib/libkvm/Makefile Sat Apr 1 09:08:11 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.51 2016/01/24 16:07:48 christos Exp $ +# $NetBSD: Makefile,v 1.52 2023/04/01 09:08:11 rillig Exp $ # from: @(#)Makefile 8.1 (Berkeley) 6/4/93 WARNS= 3 @@ -34,6 +34,8 @@ SRCS+= kvm_${MACHINE_CPU}.c .if ${MACHINE_ARCH} == "i386" LINTFLAGS+=-w +LINTFLAGS+= -X 351 # 'extern' declaration outside header +LINTFLAGS+= -X 352 # 'extern' declaration in function body SRCS+= kvm_i386pae.c # Hook PAE support in the i386 build .endif