]> xenbits.xensource.com Git - qemu-xen-4.5-testing.git/commitdiff
Fix set_error return value, by Pierre d'Herbemont.
authorths <ths>
Wed, 31 Jan 2007 12:08:13 +0000 (12:08 +0000)
committerths <ths>
Wed, 31 Jan 2007 12:08:13 +0000 (12:08 +0000)
darwin-user/main.c

index 259aab324edda55c07975cb3822fb956f705851f..5a2bc299ef268bbcaa0d1a62508df16cfd10183a 100644 (file)
@@ -478,7 +478,7 @@ static void set_idt(int n, unsigned int dpl)
 }
 
 /* ABI convention: after a syscall if there was an error the CF flag is set */
-static inline set_error(CPUX86State *env, int ret)
+static inline void set_error(CPUX86State *env, int ret)
 {
     if(ret<0)
         env->eflags = env->eflags | 0x1;