summaryrefslogtreecommitdiff
path: root/src/cat.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/cat.c
parent688833b80eb8394b7246eae84766ae1e606ef663 (diff)
downloadcoreutils-4229a555fc6298ac0cbc6f76faf4eaea628bc80c.tar.xz
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Diffstat (limited to 'src/cat.c')
-rw-r--r--src/cat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cat.c b/src/cat.c
index 31eada9d7..390abc4f9 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -31,7 +31,6 @@
#include <sys/ioctl.h>
#endif
#include "system.h"
-#include "version.h"
#include "error.h"
/* Undefine, to avoid warning about redefinition on some systems. */
@@ -580,7 +579,7 @@ main (int argc, char **argv)
if (show_version)
{
- printf ("cat - %s\n", version_string);
+ printf ("cat - %s\n", PACKAGE_VERSION);
exit (0);
}