This website requires JavaScript.
Explore
Help
Sign In
c
/
mirror_zfs
Watch
1
Star
0
Fork
0
You've already forked mirror_zfs
mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced
2026-03-11 12:56:21 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
06c73cffab
mirror_zfs
/
lib
/
libspl
/
include
/
sys
/
string.h
5 lines
85 B
C
Raw
Normal View
History
Unescape
Escape
libspl: add include guards for sys/string.h The extra inclusion via xvattr.h appears to upset the linter in CI. I'm not entirely sure what its complaint is, but removing sys/string.h entirely is not quite possible yet, and include guards are rarely a bad idea, so this will do. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17861
2025-10-22 05:52:22 +03:00
#
ifndef _LIBSPL_SYS_STRING_H
#
define _LIBSPL_SYS_STRING_H
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
2022-01-22 03:56:46 +03:00
#
include
<string.h>
libspl: add include guards for sys/string.h The extra inclusion via xvattr.h appears to upset the linter in CI. I'm not entirely sure what its complaint is, but removing sys/string.h entirely is not quite possible yet, and include guards are rarely a bad idea, so this will do. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17861
2025-10-22 05:52:22 +03:00
#
endif
Reference in New Issue
Copy Permalink