1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

Don't include version.h.

(main): Use PACKAGE_VERSION instead of version_string.
This commit is contained in:
Jim Meyering
1996-03-16 16:14:26 +00:00
parent b34f300eaf
commit 3ee97d4d5b
26 changed files with 27 additions and 53 deletions

View File

@@ -22,7 +22,6 @@
#include <sys/types.h>
#include "system.h"
#include "version.h"
#include "long-options.h"
#include "error.h"
@@ -83,7 +82,7 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
parse_long_options (argc, argv, "hostname", version_string, usage);
parse_long_options (argc, argv, "hostname", PACKAGE_VERSION, usage);
#ifdef HAVE_SETHOSTNAME
if (argc == 2)