X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_wfcq.c;h=6c2e4e827707f80ce7af9a29a1480f7ee49c4fb3;hp=3141268053f3955685700def0cf0bfcbc1948b59;hb=ab0aacbe1a25d50d069f0b24aa492e84ea296f57;hpb=cd44283e7157831c93aaa2e4386b3b7e3ce73b26 diff --git a/tests/test_urcu_wfcq.c b/tests/test_urcu_wfcq.c index 3141268..6c2e4e8 100644 --- a/tests/test_urcu_wfcq.c +++ b/tests/test_urcu_wfcq.c @@ -77,9 +77,9 @@ static unsigned long duration; /* read-side C.S. duration, in loops */ static unsigned long wdelay; -static inline void loop_sleep(unsigned long l) +static inline void loop_sleep(unsigned long loops) { - while(l-- != 0) + while (loops-- != 0) caa_cpu_relax(); }