From aa9a1279b452268bec130548e43dfcf93a89ecca Mon Sep 17 00:00:00 2001 From: guoshichao Date: Thu, 31 Aug 2023 15:49:53 +0800 Subject: [PATCH] ltp: fix the testcase build warning ltp/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c ltp/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c:415:1: warning: useless storage class specifier in empty declaration 415 | }; | ^ Signed-off-by: guoshichao --- testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c b/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c index 14ad4ea2c36..2133b721a0e 100644 --- a/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c +++ b/testcases/open_posix_testsuite/stress/threads/sem_open/s-c1.c @@ -399,7 +399,7 @@ int main(int argc, char *argv[]) * The function returns 0 when r1 is the best for all cases (latency is constant) and !0 otherwise. */ -static struct row { +struct row { long X; /* the X values -- copied from function argument */ long Y_o; /* the Y values -- copied from function argument */ long Y_c; /* the Y values -- copied from function argument */