use EXIT_SUCCESS and EXIT_FAILURE

git-svn-id: https://svn.musicpd.org/mpd/trunk@591 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-04-02 23:34:16 +00:00
parent 4f912f1b90
commit 785cdb0114
15 changed files with 87 additions and 87 deletions

View File

@@ -70,7 +70,7 @@ void decodeSigHandler(int sig) {
int pid = *decode_pid;
if(pid>0) kill(pid,SIGTERM);
}
exit(0);
exit(EXIT_SUCCESS);
}
}
@@ -275,7 +275,7 @@ int decoderInit(PlayerControl * pc, Buffer * cb, AudioFormat *af,
else my_usleep(10000);
}
exit(0);
exit(EXIT_SUCCESS);
/* END OF CHILD */
}
else if(pid<0) {