Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h>

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12996
This commit is contained in:
наб
2022-01-22 01:56:46 +01:00
committed by Brian Behlendorf
parent 861166b027
commit d465fc5844
61 changed files with 63 additions and 141 deletions
+1 -1
View File
@@ -43,8 +43,8 @@
#if defined(HAVE_AVX) && defined(HAVE_AVX2)
#include <sys/spa_checksum.h>
#include <sys/string.h>
#include <sys/simd.h>
#include <sys/strings.h>
#include <zfs_fletcher.h>
ZFS_NO_SANITIZE_UNDEFINED