Exit with EXIT_SUCCESS/EXIT_FAILURE instead of 0 and 1

Fixed for consistency purposes.
This commit is contained in:
sin
2013-10-07 16:41:55 +01:00
parent ac033652fe
commit b5a511dacf
52 changed files with 67 additions and 60 deletions

4
mc.c
View File

@@ -63,7 +63,7 @@ main(int argc, char *argv[])
for(l = 0; l < b.nlines; ++l) {
fputs(b.lines[l], stdout);
}
return 0;
return EXIT_SUCCESS;
}
if(!(space = malloc(maxlen + 2)))
@@ -82,6 +82,6 @@ main(int argc, char *argv[])
fputs("\n", stdout);
}
return 0;
return EXIT_SUCCESS;
}