aboutsummaryrefslogtreecommitdiff
path: root/darwin-user
diff options
context:
space:
mode:
Diffstat (limited to 'darwin-user')
-rw-r--r--darwin-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin-user/main.c b/darwin-user/main.c
index 259aab324e..5a2bc299ef 100644
--- a/darwin-user/main.c
+++ b/darwin-user/main.c
@@ -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;