From: Paul F. <pa...@so...> - 2024-11-25 20:28:48
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=c812e7fb5727ce09cad17ab0a6cb5e0464f2a24e commit c812e7fb5727ce09cad17ab0a6cb5e0464f2a24e Author: Paul Floyd <pj...@wa...> Date: Mon Nov 25 21:27:56 2024 +0100 Remove standard headers from zstddeclib.c Not needed and safer without them. Diff: --- coregrind/m_debuginfo/zstddeclib.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/coregrind/m_debuginfo/zstddeclib.c b/coregrind/m_debuginfo/zstddeclib.c index 5b1f3c2fbd..405125c6c2 100644 --- a/coregrind/m_debuginfo/zstddeclib.c +++ b/coregrind/m_debuginfo/zstddeclib.c @@ -112,10 +112,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "pub_core_mallocfree.h" #include "pub_core_libcbase.h" -#include <limits.h> -#include <stddef.h> -#include <string.h> - # define ZSTD_memcpy(d,s,l) VG_(memcpy)((d),(s),(l)) # define ZSTD_memmove(d,s,l) VG_(memmove)((d),(s),(l)) # define ZSTD_memset(p,v,l) VG_(memset)((p),(v),(l)) |