X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..eee3565979933af707c711411001ba11fe406a3c:/libsyscall/wrappers/string/memset.c diff --git a/libsyscall/wrappers/string/memset.c b/libsyscall/wrappers/string/memset.c index 3ae3c7717..cab6587d6 100644 --- a/libsyscall/wrappers/string/memset.c +++ b/libsyscall/wrappers/string/memset.c @@ -36,6 +36,8 @@ #define wsize sizeof(u_int) #define wmask (wsize - 1) +// n.b. this must be compiled with -fno-builtin or it might get optimized into +// a recursive call to bzero. __attribute__((visibility("hidden"))) void bzero(void *dst0, size_t length)