Module Name:    src
Committed By:   rillig
Date:           Thu Aug 29 21:05:01 UTC 2024

Modified Files:
        src/lib/libc/gen: Makefile.inc

Log Message:
arc4random: suppress another lint warning


To generate a diff of this commit:
cvs rdiff -u -r1.219 -r1.220 src/lib/libc/gen/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/Makefile.inc
diff -u src/lib/libc/gen/Makefile.inc:1.219 src/lib/libc/gen/Makefile.inc:1.220
--- src/lib/libc/gen/Makefile.inc:1.219	Thu Aug 29 13:39:42 2024
+++ src/lib/libc/gen/Makefile.inc	Thu Aug 29 21:05:01 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.219 2024/08/29 13:39:42 riastradh Exp $
+#	$NetBSD: Makefile.inc,v 1.220 2024/08/29 21:05:01 rillig Exp $
 #	from: @(#)Makefile.inc	8.6 (Berkeley) 5/4/95
 
 # gen sources
@@ -40,6 +40,7 @@ SRCS+=	alarm.c alphasort.c arc4random.c 
 	vwarn.c vwarnx.c vwarnc.c verr.c verrx.c verrc.c
 
 LINTFLAGS.arc4random.c+=-Ac11	# stdatomic.h
+LINTFLAGS.arc4random.c+=-X 129	# expression has null effect (in atomic macros)
 
 # uses alloca
 COPTS.execvp.c = -Wno-stack-protector

Reply via email to