diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2004-05-08 15:23:35 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2004-05-08 15:23:35 +0000 |
commit | 5f4db24f94f45ea4098249d3aea343554b3e607b (patch) | |
tree | 97e36ba6bf76def832e73cbe24830c7597e9ea27 /lib-src/sorted-doc.c | |
parent | 424c5c09a9dd08c1a4ec40860af005de690e5b4d (diff) | |
download | emacs-5f4db24f94f45ea4098249d3aea343554b3e607b.tar.gz |
Throughout, replace 0 destined for `exit' arg with `EXIT_SUCCESS'.
Likewise, replace 1 with `EXIT_FAILURE'.
(main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
Diffstat (limited to 'lib-src/sorted-doc.c')
-rw-r--r-- | lib-src/sorted-doc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib-src/sorted-doc.c b/lib-src/sorted-doc.c index 05a3e69cc92..3af3276e811 100644 --- a/lib-src/sorted-doc.c +++ b/lib-src/sorted-doc.c @@ -75,7 +75,7 @@ fatal (s1, s2) char *s1, *s2; { error (s1, s2); - exit (1); + exit (EXIT_FAILURE); } /* Like malloc but get fatal error if memory is exhausted. */ @@ -279,8 +279,10 @@ main () printf ("@bye\n"); } - return 0; + return EXIT_SUCCESS; } /* arch-tag: ce28f204-1e70-4b34-8210-3d54a5662071 (do not change this comment) */ + +/* sorted-doc.c ends here */ |