summaryrefslogtreecommitdiff
path: root/src/head.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/head.c
parent688833b80eb8394b7246eae84766ae1e606ef663 (diff)
downloadcoreutils-4229a555fc6298ac0cbc6f76faf4eaea628bc80c.tar.xz
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Diffstat (limited to 'src/head.c')
-rw-r--r--src/head.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/head.c b/src/head.c
index a0415801e..244d9a813 100644
--- a/src/head.c
+++ b/src/head.c
@@ -30,7 +30,6 @@
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
/* Number of lines/chars/blocks to head. */
@@ -353,7 +352,7 @@ main (int argc, char **argv)
if (show_version)
{
- printf ("head - %s\n", version_string);
+ printf ("head - %s\n", PACKAGE_VERSION);
exit (0);
}