aboutsummaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2013-07-27 19:57:20 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2013-07-27 19:57:20 +0000
commitfb6b9b91d11dacb448979bb7770182f1731e9f99 (patch)
tree68fe5e9d8970b82717478c7e904a7456bbaad7f5 /version.c
parentfea6cc68e36068e834e86474181b1e8edbae89df (diff)
Virgin import of patch-2.5.9, the last official GPLv2 release.vendor/misc-GNU/patch/2.5.9vendor/misc-GNU/patch
As in previous imports we dropped the mkinstall and pc directories as they are of no use to us. Differently from previous imports, patch.1 was not renamed and is maintained with its original name (patch.man). If we ever merge this into the main tree, care must be taken to rename it back.
Notes
Notes: svn path=/vendor/patch/dist/; revision=253717 svn path=/vendor/patch/2.5.9/; revision=253718; tag=vendor/misc-GNU/patch/2.5.9
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);
}