c57794fe1f
the origin ltp testcases has many build warnings which consider error in Nuttx, thus to apply the patches to fix these build warnings Signed-off-by: guoshichao <guoshichao@xiaomi.com>
14 lines
699 B
Diff
14 lines
699 B
Diff
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 14ad4ea2c..2133b721a 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 */
|