1*ed857e95Sphil /* $NetBSD: warranty.c,v 1.1 2017/04/10 02:28:23 phil Exp $ */
2*ed857e95Sphil
3*ed857e95Sphil /*
4*ed857e95Sphil * Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
5*ed857e95Sphil * Copyright (C) 2004, 2017 Philip A. Nelson.
6*ed857e95Sphil * All rights reserved.
7*ed857e95Sphil *
8*ed857e95Sphil * Redistribution and use in source and binary forms, with or without
9*ed857e95Sphil * modification, are permitted provided that the following conditions
10*ed857e95Sphil * are met:
11*ed857e95Sphil * 1. Redistributions of source code must retain the above copyright
12*ed857e95Sphil * notice, this list of conditions and the following disclaimer.
13*ed857e95Sphil * 2. Redistributions in binary form must reproduce the above copyright
14*ed857e95Sphil * notice, this list of conditions and the following disclaimer in the
15*ed857e95Sphil * documentation and/or other materials provided with the distribution.
16*ed857e95Sphil * 3. Neither the name of Philip A. Nelson nor the name of the Free Software
17*ed857e95Sphil * Foundation may not be used to endorse or promote products derived from
18*ed857e95Sphil * this software without specific prior written permission.
19*ed857e95Sphil *
20*ed857e95Sphil * THIS SOFTWARE IS PROVIDED BY PHILIP A. NELSON ``AS IS'' AND ANY EXPRESS OR
21*ed857e95Sphil * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22*ed857e95Sphil * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23*ed857e95Sphil * IN NO EVENT SHALL PHILIP A. NELSON OR THE FREE SOFTWARE FOUNDATION BE
24*ed857e95Sphil * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25*ed857e95Sphil * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26*ed857e95Sphil * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27*ed857e95Sphil * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28*ed857e95Sphil * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29*ed857e95Sphil * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30*ed857e95Sphil * THE POSSIBILITY OF SUCH DAMAGE.
31*ed857e95Sphil */
32*ed857e95Sphil
33*ed857e95Sphil /* Warranty information ... */
34*ed857e95Sphil
35*ed857e95Sphil #include "bcdefs.h"
36*ed857e95Sphil #include "proto.h"
37*ed857e95Sphil
38*ed857e95Sphil /* Print the welcome banner. */
39*ed857e95Sphil
40*ed857e95Sphil void
welcome(void)41*ed857e95Sphil welcome(void)
42*ed857e95Sphil {
43*ed857e95Sphil /* No welcome in NetBSD! */
44*ed857e95Sphil }
45*ed857e95Sphil
46*ed857e95Sphil /* Print out the version information. */
47*ed857e95Sphil
48*ed857e95Sphil void
show_bc_version(void)49*ed857e95Sphil show_bc_version(void)
50*ed857e95Sphil {
51*ed857e95Sphil printf("%s %s\n%s\n", PACKAGE, VERSION, BC_COPYRIGHT);
52*ed857e95Sphil }
53*ed857e95Sphil
54*ed857e95Sphil /* Print out the warranty information. */
55*ed857e95Sphil
56*ed857e95Sphil void
warranty(const char * prefix)57*ed857e95Sphil warranty(const char *prefix)
58*ed857e95Sphil {
59*ed857e95Sphil printf ("\n%s", prefix);
60*ed857e95Sphil show_bc_version ();
61*ed857e95Sphil printf ("\n There is no warranty! See the NetBSD source code.\n");
62*ed857e95Sphil }
63