source: vendor/patch/current/version.c@ 3445

Last change on this file since 3445 was 3444, checked in by bird, 18 years ago

patch 2.5.9

File size: 841 bytes
Line 
1/* Print the version number. */
2
3/* $Id: version.c,v 1.13 2003/05/18 08:25:17 eggert Exp $ */
4
5#define XTERN extern
6#include <common.h>
7#undef XTERN
8#define XTERN
9#include <version.h>
10
11static char const copyright_string[] = "\
12Copyright (C) 1988 Larry Wall\n\
13Copyright (C) 2003 Free Software Foundation, Inc.";
14
15static char const free_software_msgid[] = "\
16This program comes with NO WARRANTY, to the extent permitted by law.\n\
17You may redistribute copies of this program\n\
18under the terms of the GNU General Public License.\n\
19For more information about these matters, see the file named COPYING.";
20
21static char const authorship_msgid[] = "\
22written by Larry Wall and Paul Eggert";
23
24void
25version (void)
26{
27 printf ("%s %s\n%s\n\n%s\n\n%s\n", PACKAGE_NAME, PACKAGE_VERSION,
28 copyright_string, free_software_msgid, authorship_msgid);
29}
Note: See TracBrowser for help on using the repository browser.