aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2012-07-23 10:13:06 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-07-23 10:13:06 -0700
commitd95f84da47d4e5c1f9bce2770400fd0d61b0c0b6 (patch)
treeb39ee901bb528b7e3593117cde724ef75d438b67 /distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c
parent2b3a42e7d0b441f71fc2e2b07269dd1f8151c977 (diff)
parente4c5d95ed37611acc6a186522315195b4ebfb9ef (diff)
downloadexternal_qemu-d95f84da47d4e5c1f9bce2770400fd0d61b0c0b6.zip
external_qemu-d95f84da47d4e5c1f9bce2770400fd0d61b0c0b6.tar.gz
external_qemu-d95f84da47d4e5c1f9bce2770400fd0d61b0c0b6.tar.bz2
Merge "Apply Android changes from sdl-1.2.12 to sdl-1.2.15"
Diffstat (limited to 'distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c')
-rw-r--r--distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c b/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c
index fc729f1..f2210e4 100644
--- a/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c
+++ b/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c
@@ -605,10 +605,10 @@ SDL_NAME(XF86DGAForkApp)(int screen)
SDL_NAME(XF86DGADirectVideoLL)(sp->display, sp->screen, 0);
XSync(sp->display, False);
}
- if (WIFEXITED(status))
- _exit(0);
+ if (WIFEXITED(status))
+ exit(0);
else
- _exit(-1);
+ exit(-1);
}
return pid;
}
@@ -657,7 +657,7 @@ XF86cleanup(int sig)
static char beenhere = 0;
if (beenhere)
- _exit(3);
+ exit(3);
beenhere = 1;
for (i = 0; i < numScrs; i++) {
@@ -665,7 +665,7 @@ XF86cleanup(int sig)
SDL_NAME(XF86DGADirectVideo)(sp->display, sp->screen, 0);
XSync(sp->display, False);
}
- _exit(3);
+ exit(3);
}
Bool