summaryrefslogtreecommitdiff
path: root/src/uname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-16 16:14:26 +0000
committerJim Meyering <jim@meyering.net>1996-03-16 16:14:26 +0000
commit3ee97d4d5bc218455af92a4ebb6ded2378fa2311 (patch)
tree49e8b0df75efb8db27d6df7f624bfdd20a80cb6c /src/uname.c
parentb34f300eaf19fff8b377e9003968f38e8b1fed12 (diff)
downloadcoreutils-3ee97d4d5bc218455af92a4ebb6ded2378fa2311.tar.gz
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Diffstat (limited to 'src/uname.c')
-rw-r--r--src/uname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/uname.c b/src/uname.c
index e64af98ed..a34ef65a3 100644
--- a/src/uname.c
+++ b/src/uname.c
@@ -35,7 +35,6 @@
#include <getopt.h>
#include "system.h"
-#include "version.h"
#include "error.h"
static void print_element __P ((unsigned int mask, char *element));
@@ -134,7 +133,7 @@ main (int argc, char **argv)
if (show_version)
{
- printf ("uname - %s\n", version_string);
+ printf ("uname - %s\n", PACKAGE_VERSION);
exit (0);
}