minios: fix declaration after code
PATCH 1/1 minios: fix declaration after code
minios: fix declaration after code
Signed-off-by Samuel Thibault <[email protected]>
extras/mini-os/include/wait.h +1 -1
@@ -87,9 +87,9 @@#define wait_event_deadline (wq, condition, deadline) do { \ unsigned long flags; \ + DEFINE_WAIT(__wait); \ if(condition) \ break; \ - DEFINE_WAIT(__wait); \ for(;;) \ { \/* protect the list */ \