Replace use of EXIT_* constants to 0 and 1
authorQuentin Rameau <quinq@fifth.space>
Sun, 22 Nov 2015 11:17:05 +0000 (12:17 +0100)
committerQuentin Rameau <quinq@fifth.space>
Sun, 22 Nov 2015 11:17:05 +0000 (12:17 +0100)
surf.c

diff --git a/surf.c b/surf.c
index 8f85f7b..d43535d 100644 (file)
--- 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;
 }