mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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:
@@ -36,7 +36,7 @@
|
||||
#include <libnvpair.h>
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
#include <sys/strings.h>
|
||||
#include <sys/string.h>
|
||||
#include <sys/dsl_deleg.h>
|
||||
#include "zfs_prop.h"
|
||||
#include "zfs_deleg.h"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
#include <sys/simd.h>
|
||||
#include <sys/spa_checksum.h>
|
||||
#include <sys/strings.h>
|
||||
#include <sys/string.h>
|
||||
#include <zfs_fletcher.h>
|
||||
|
||||
ZFS_NO_SANITIZE_UNDEFINED
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <sys/byteorder.h>
|
||||
#include <sys/frame.h>
|
||||
#include <sys/spa_checksum.h>
|
||||
#include <sys/strings.h>
|
||||
#include <sys/string.h>
|
||||
#include <sys/simd.h>
|
||||
#include <zfs_fletcher.h>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
|
||||
#include <sys/simd.h>
|
||||
#include <sys/spa_checksum.h>
|
||||
#include <sys/string.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <sys/strings.h>
|
||||
#include <zfs_fletcher.h>
|
||||
|
||||
ZFS_NO_SANITIZE_UNDEFINED
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <sys/spa_checksum.h>
|
||||
#include <sys/strings.h>
|
||||
#include <sys/string.h>
|
||||
#include <zfs_fletcher.h>
|
||||
|
||||
ZFS_NO_SANITIZE_UNDEFINED
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <sys/spa_checksum.h>
|
||||
#include <sys/strings.h>
|
||||
#include <sys/string.h>
|
||||
#include <zfs_fletcher.h>
|
||||
|
||||
ZFS_NO_SANITIZE_UNDEFINED
|
||||
|
||||
Reference in New Issue
Block a user