Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
55441:406c79b8022c | 55442:a47704955f8d |
---|---|
268 | 268 |
269 if (fp != stdin) | 269 if (fp != stdin) |
270 fclose (fp); | 270 fclose (fp); |
271 | 271 |
272 } while (*argv != NULL); | 272 } while (*argv != NULL); |
273 return 0; | 273 return EXIT_SUCCESS; |
274 } | 274 } |
275 | 275 |
276 void | 276 void |
277 usage () | 277 usage () |
278 { | 278 { |
279 fprintf (stderr, "usage: %s [-de] [-iso]\n", progname); | 279 fprintf (stderr, "usage: %s [-de] [-iso]\n", progname); |
280 exit (1); | 280 exit (EXIT_FAILURE); |
281 } | 281 } |
282 | 282 |
283 /* arch-tag: 20e04fb7-926e-4e48-be86-64fe869ecdaa | 283 /* arch-tag: 20e04fb7-926e-4e48-be86-64fe869ecdaa |
284 (do not change this comment) */ | 284 (do not change this comment) */ |
285 | |
286 /* hexl.c ends here */ |