Skip to contentSkip to conversation

minios: fix declaration after code

PATCH New Samuel Thibault 1 participant 1 message Jun 17, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 minios: fix declaration after code

minios: fix declaration after code

extras/mini-os/include/wait.h +1 -1
diff -r ea73dfe0413d extras/mini-os/include/wait.h
@@ -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 */                                  \