Skip to content

Commit 9690530

Browse files
authored
Merge pull request #20 from resttime/master
Remove static declaration on my_exit
2 parents 859db12 + 6eac916 commit 9690530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/async-process.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static struct process* allocate_process(int fd, const char *pts_name, int pid)
2929
return process;
3030
}
3131

32-
static void my_exit(int status) {
32+
void my_exit(int status) {
3333
// exitを使うとatexitで動作に影響を与えられる、これが原因でプロセスを終了できなくなる事があるので使うのを避ける
3434
// 例えばSDL2はat_exitを使っているせいか、lemのSDL2 frontendでasync_processが動作しなくなっていた
3535
_exit(status);

0 commit comments

Comments
 (0)