summaryrefslogtreecommitdiff
path: root/src/md5sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-16 22:30:54 +0000
committerJim Meyering <jim@meyering.net>1996-03-16 22:30:54 +0000
commit4229a555fc6298ac0cbc6f76faf4eaea628bc80c (patch)
treed7980c8872aa7269f1273c89400e20f8f5d51f88 /src/md5sum.c
parent688833b80eb8394b7246eae84766ae1e606ef663 (diff)
downloadcoreutils-4229a555fc6298ac0cbc6f76faf4eaea628bc80c.tar.xz
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r--src/md5sum.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index 2e2759d0f..07ad35488 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -31,7 +31,6 @@
#include "getline.h"
#include "system.h"
#include "error.h"
-#include "version.h"
/* Most systems do not distinguish between external and internal
text representations. */
@@ -403,7 +402,7 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "md5sum", version_string, usage);
+ parse_long_options (argc, argv, "md5sum", PACKAGE_VERSION, usage);
while ((opt = getopt_long (argc, argv, "bctw", long_options, NULL))
!= EOF)
@@ -444,7 +443,7 @@ main (int argc, char **argv)
if (do_version)
{
- printf ("md5sum - %s\n", version_string);
+ printf ("md5sum - %s\n", PACKAGE_VERSION);
exit (EXIT_SUCCESS);
}