Mercurial > emacs
diff lib-src/hexl.c @ 55442:a47704955f8d
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.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Sat, 08 May 2004 15:23:35 +0000 |
parents | 695cf19ef79e |
children | 5d803fae362c 4c90ffeb71c5 |
line wrap: on
line diff
--- a/lib-src/hexl.c Sat May 08 15:00:20 2004 +0000 +++ b/lib-src/hexl.c Sat May 08 15:23:35 2004 +0000 @@ -270,15 +270,17 @@ fclose (fp); } while (*argv != NULL); - return 0; + return EXIT_SUCCESS; } void usage () { fprintf (stderr, "usage: %s [-de] [-iso]\n", progname); - exit (1); + exit (EXIT_FAILURE); } /* arch-tag: 20e04fb7-926e-4e48-be86-64fe869ecdaa (do not change this comment) */ + +/* hexl.c ends here */