common: switch _exit to exit

mentioned in #1472.
This commit is contained in:
Koichiro IWAO 2020-01-08 09:21:39 +09:00
parent e928d8baf2
commit e8c845e78b
No known key found for this signature in database
GPG Key ID: 9F72CDBC01BF10EB

View File

@ -3400,7 +3400,7 @@ g_getenv(const char *name)
int
g_exit(int exit_code)
{
_exit(exit_code);
exit(exit_code);
return 0;
}