summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-11-22 12:17:05 +0100
committerQuentin Rameau <quinq@fifth.space>2015-11-22 12:17:05 +0100
commit890ab510ea2a547926e6814fdcd596910c87d614 (patch)
treefb2018c08c6e17b36f7d21a4e7991fbed9f071fa
parent3e017b1a89c1e0d8cb706638d0223afcf834e70d (diff)
downloadsurf-890ab510ea2a547926e6814fdcd596910c87d614.tar.gz
surf-890ab510ea2a547926e6814fdcd596910c87d614.tar.bz2
surf-890ab510ea2a547926e6814fdcd596910c87d614.zip
Replace use of EXIT_* constants to 0 and 1
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
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;
}