summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'version.c')
-rw-r--r--version.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/version.c b/version.c
index ea08437b0852..438da2f5e3bf 100644
--- a/version.c
+++ b/version.c
@@ -1,17 +1,16 @@
/* Print the version number. */
-/* $Id: version.c,v 1.5 1997/05/21 18:29:20 eggert Exp $ */
+/* $Id: version.c,v 1.13 2003/05/18 08:25:17 eggert Exp $ */
#define XTERN extern
#include <common.h>
#undef XTERN
#define XTERN
-#include <patchlevel.h>
#include <version.h>
static char const copyright_string[] = "\
-Copyright 1988 Larry Wall\n\
-Copyright 1997 Free Software Foundation, Inc.";
+Copyright (C) 1988 Larry Wall\n\
+Copyright (C) 2003 Free Software Foundation, Inc.";
static char const free_software_msgid[] = "\
This program comes with NO WARRANTY, to the extent permitted by law.\n\
@@ -20,11 +19,11 @@ under the terms of the GNU General Public License.\n\
For more information about these matters, see the file named COPYING.";
static char const authorship_msgid[] = "\
-written by Larry Wall with lots o' patches by Paul Eggert";
+written by Larry Wall and Paul Eggert";
void
-version()
+version (void)
{
- printf ("%s %s\n%s\n\n%s\n\n%s\n", program_name, PATCH_VERSION,
+ printf ("%s %s\n%s\n\n%s\n\n%s\n", PACKAGE_NAME, PACKAGE_VERSION,
copyright_string, free_software_msgid, authorship_msgid);
}