From: Quentin Rameau Date: Sun, 22 Nov 2015 11:17:05 +0000 (+0100) Subject: Replace use of EXIT_* constants to 0 and 1 X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=commitdiff_plain;h=890ab510ea2a547926e6814fdcd596910c87d614 Replace use of EXIT_* constants to 0 and 1 --- diff --git a/surf.c b/surf.c index 8f85f7b..d43535d 100644 --- a/surf.c +++ b/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; }