mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +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:
@@ -40,7 +40,7 @@
|
||||
#include <sys/nvpair_impl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/strings.h>
|
||||
#include <sys/string.h>
|
||||
#include <rpc/xdr.h>
|
||||
#include <sys/mod.h>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
#define skip_whitespace(p) while ((*(p) == ' ') || (*(p) == '\t')) p++
|
||||
#define skip_whitespace(p) while ((*(p) == ' ') || (*(p) == '\t')) (p)++
|
||||
|
||||
/*
|
||||
* nvpair.c - Provides kernel & userland interfaces for manipulating
|
||||
|
||||
Reference in New Issue
Block a user