summaryrefslogtreecommitdiff
path: root/lib-src/hexl.c
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2004-05-08 15:23:35 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2004-05-08 15:23:35 +0000
commit5f4db24f94f45ea4098249d3aea343554b3e607b (patch)
tree97e36ba6bf76def832e73cbe24830c7597e9ea27 /lib-src/hexl.c
parent424c5c09a9dd08c1a4ec40860af005de690e5b4d (diff)
downloademacs-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/hexl.c')
-rw-r--r--lib-src/hexl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib-src/hexl.c b/lib-src/hexl.c
index 0cfb88445b3..5ca7c2a5b8a 100644
--- a/lib-src/hexl.c
+++ b/lib-src/hexl.c
@@ -270,15 +270,17 @@ main (argc, argv)
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 */