[hackers] [surf] Replace use of EXIT_* constants to 0 and 1 || Quentin Rameau

From: <git_AT_suckless.org>
Date: Sun, 22 Nov 2015 12:18:08 +0100 (CET)

commit 890ab510ea2a547926e6814fdcd596910c87d614
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sun Nov 22 12:17:05 2015 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
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
_AT_@ -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
_AT_@ -1555,5 +1555,5 @@ main(int argc, char *argv[])
         gtk_main();
         cleanup();
 
- return EXIT_SUCCESS;
+ return 0;
 }
Received on Sun Nov 22 2015 - 12:18:08 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 22 2015 - 12:24:12 CET