summaryrefslogtreecommitdiff
path: root/lib-src/hexl.c
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2004-05-08 15:26:33 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2004-05-08 15:26:33 +0000
commit65396510c3ff5e5386560d586cb117f6a9d06c27 (patch)
treee1240e2d08ba9f72fe44e62318c67c3065913d1c /lib-src/hexl.c
parent28712a21247d1a503e7620e47c128c0fc33b3bb3 (diff)
downloademacs-65396510c3ff5e5386560d586cb117f6a9d06c27.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 */