From 2bd7f7042125c99326ffa21c52f368f0721040ca Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 20 Jun 2022 12:46:40 -0700 Subject: [PATCH] syscall --- memcheck/tests/arm64-linux/scalar.h | 8 +------- memcheck/tests/x86-linux/scalar.h | 7 +------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/memcheck/tests/arm64-linux/scalar.h b/memcheck/tests/arm64-linux/scalar.h index 9008816d6..3dbfa7967 100644 --- a/memcheck/tests/arm64-linux/scalar.h +++ b/memcheck/tests/arm64-linux/scalar.h @@ -1,6 +1,3 @@ -/* This is the arm64 variant of memcheck/tests/x86-linux/scalar.h */ -#include "../../../include/vki/vki-scnums-arm64-linux.h" - #include #include #include @@ -11,10 +8,7 @@ #include #include #include - -// Since we use vki_unistd.h, we can't include . So we have to -// declare this ourselves. -extern long int syscall (long int __sysno, ...) __THROW; +#include // Thorough syscall scalar arg checking. Also serves as thorough checking // for (very) basic syscall use. Generally not trying to do anything diff --git a/memcheck/tests/x86-linux/scalar.h b/memcheck/tests/x86-linux/scalar.h index ef28b0355..3dbfa7967 100644 --- a/memcheck/tests/x86-linux/scalar.h +++ b/memcheck/tests/x86-linux/scalar.h @@ -1,5 +1,3 @@ -#include "../../../include/vki/vki-scnums-x86-linux.h" - #include #include #include @@ -10,10 +8,7 @@ #include #include #include - -// Since we use vki_unistd.h, we can't include . So we have to -// declare this ourselves. -extern long int syscall (long int __sysno, ...) __THROW; +#include // Thorough syscall scalar arg checking. Also serves as thorough checking // for (very) basic syscall use. Generally not trying to do anything -- 2.11.4.GIT