commit 890ab510ea2a547926e6814fdcd596910c87d614
parent 3e017b1a89c1e0d8cb706638d0223afcf834e70d
Author: Quentin Rameau <[email protected]>
Date: Sun, 22 Nov 2015 12:17:05 +0100
Replace use of EXIT_* constants to 0 and 1
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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;
}