[LTP] [PATCH 11/12] posix/conformance/interface/mmap/5-1: Remove invalid static

Joerg Vehlow lkml@jv-coder.de
Fri Nov 19 08:46:01 CET 2021


From: Joerg Vehlow <joerg.vehlow@aox-tech.de>

A storage class specifier for a struct definition has no effect

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox-tech.de>
---
 .../open_posix_testsuite/conformance/interfaces/mmap/5-1.c      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mmap/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mmap/5-1.c
index bcb330da6..ad7b6bb2d 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/mmap/5-1.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/mmap/5-1.c
@@ -34,7 +34,7 @@
 #include "posixtest.h"
 #include "tempfile.h"
 
-static struct testcase {
+struct testcase {
 	int prot;
 	int flags;
 };
-- 
2.25.1



More information about the ltp mailing list