diff options
author | наб <[email protected]> | 2022-01-22 01:56:46 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-03-15 15:13:48 -0700 |
commit | d465fc584425c618f8baa13a31b70ffabe053484 (patch) | |
tree | d5c120208b294829231adc7d7efbb28fdee3adcd /lib/libzfs/os | |
parent | 861166b02701dfc8f63a105bd32758e806c84fd7 (diff) |
Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12996
Diffstat (limited to 'lib/libzfs/os')
-rw-r--r-- | lib/libzfs/os/linux/libzfs_mount_os.c | 2 | ||||
-rw-r--r-- | lib/libzfs/os/linux/libzfs_pool_os.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libzfs/os/linux/libzfs_mount_os.c b/lib/libzfs/os/linux/libzfs_mount_os.c index 1b01caeb7..eab068d59 100644 --- a/lib/libzfs/os/linux/libzfs_mount_os.c +++ b/lib/libzfs/os/linux/libzfs_mount_os.c @@ -37,7 +37,7 @@ #include <libintl.h> #include <stdio.h> #include <stdlib.h> -#include <strings.h> +#include <string.h> #include <unistd.h> #include <zone.h> #include <sys/mntent.h> diff --git a/lib/libzfs/os/linux/libzfs_pool_os.c b/lib/libzfs/os/linux/libzfs_pool_os.c index 4484a57d3..147efbc0e 100644 --- a/lib/libzfs/os/linux/libzfs_pool_os.c +++ b/lib/libzfs/os/linux/libzfs_pool_os.c @@ -34,7 +34,7 @@ #include <libintl.h> #include <stdio.h> #include <stdlib.h> -#include <strings.h> +#include <string.h> #include <unistd.h> #include <libgen.h> #include <zone.h> |