Replace use of EXIT_* constants to 0 and 1
This commit is contained in:
parent
3e017b1a89
commit
890ab510ea
1 changed files with 2 additions and 2 deletions
4
surf.c
4
surf.c
|
@ -211,7 +211,7 @@ die(const char *errstr, ...)
|
|||
va_start(ap, errstr);
|
||||
vfprintf(stderr, errstr, ap);
|
||||
va_end(ap);
|
||||
exit(EXIT_FAILURE);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -1555,5 +1555,5 @@ main(int argc, char *argv[])
|
|||
gtk_main();
|
||||
cleanup();
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue