From 8b1535789509812763de132f877b596d01861714 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Tue, 4 Oct 2022 14:54:52 +0200 Subject: Small test fixes --- test/access.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/access.c') diff --git a/test/access.c b/test/access.c index e7676a7..22e2fb8 100755 --- a/test/access.c +++ b/test/access.c @@ -1,5 +1,6 @@ #include "cachepc_user.h" +#include #include #include #include @@ -7,14 +8,13 @@ #include #include #include -#include int main(int argc, const char **argv) { uint32_t arg; - size_t i, len; int fd, ret; + size_t i; fd = open("/proc/cachepc", O_RDONLY); if (fd < 0) err(1, "open"); -- cgit v1.2.3-71-gd317