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

@@ -80,7 +80,7 @@ void pcm_volumeChange(char * buffer, int bufferSize, AudioFormat * format,
default:
ERROR("%i bits not supported by pcm_volumeChange!\n",
format->bits);
exit(-1);
exit(EXIT_FAILURE);
}
}
@@ -120,7 +120,7 @@ void pcm_add(char * buffer1, char * buffer2, size_t bufferSize1,
break;
default:
ERROR("%i bits not supported by pcm_add!\n",format->bits);
exit(-1);
exit(EXIT_FAILURE);
}
}