From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: [PATCH] minios: fix declaration after code Date: Tue, 17 Jun 2008 14:35:55 +0100 Message-ID: <20080617133555.GP5994@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org minios: fix declaration after code Signed-off-by: Samuel Thibault diff -r ea73dfe0413d extras/mini-os/include/wait.h --- a/extras/mini-os/include/wait.h Tue Jun 17 14:25:03 2008 +0100 +++ b/extras/mini-os/include/wait.h Tue Jun 17 14:36:42 2008 +0100 @@ -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 */ \