commit 890ab510ea2a547926e6814fdcd596910c87d614
Author:     Quentin Rameau <[email protected]>
AuthorDate: Sun Nov 22 12:17:05 2015 +0100
Commit:     Quentin Rameau <[email protected]>
CommitDate: Sun Nov 22 12:17:05 2015 +0100

    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;
 }

Reply via email to