Blame bc/warranty.c

Packit 70b277
/* warranty.c: warranty routines for bc. */
Packit 70b277
Packit 70b277
/*  This file is part of GNU bc.
Packit 70b277
    Copyright (C) 1991-1994, 1997, 2000, 2003, 2004 Free Software Foundation, Inc.
Packit 70b277
Packit 70b277
    This program is free software; you can redistribute it and/or modify
Packit 70b277
    it under the terms of the GNU General Public License as published by
Packit 70b277
    the Free Software Foundation; either version 3 of the License , or
Packit 70b277
    (at your option) any later version.
Packit 70b277
Packit 70b277
    This program is distributed in the hope that it will be useful,
Packit 70b277
    but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 70b277
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 70b277
    GNU General Public License for more details.
Packit 70b277
Packit 70b277
    You should have received a copy of the GNU General Public License
Packit 70b277
    along with this program; see the file COPYING.  If not, write to
Packit 70b277
      The Free Software Foundation, Inc.
Packit 70b277
      51 Franklin Street, Fifth Floor
Packit 70b277
      Boston, MA 02110-1335  USA
Packit 70b277
Packit 70b277
    You may contact the author by:
Packit 70b277
       e-mail:  philnelson@acm.org
Packit 70b277
      us-mail:  Philip A. Nelson
Packit 70b277
                Computer Science Department, 9062
Packit 70b277
                Western Washington University
Packit 70b277
                Bellingham, WA 98226-9062
Packit 70b277
       
Packit 70b277
*************************************************************************/
Packit 70b277
Packit 70b277
Packit 70b277
#include "bcdefs.h"
Packit 70b277
#include "proto.h"
Packit 70b277
Packit 70b277
Packit 70b277
/* Print the welcome banner. */
Packit 70b277
Packit 70b277
void 
Packit 70b277
welcome()
Packit 70b277
{
Packit 70b277
  printf ("This is free software with ABSOLUTELY NO WARRANTY.\n");
Packit 70b277
  printf ("For details type `warranty'. \n");
Packit 70b277
}
Packit 70b277
Packit 70b277
/* Print out the version information. */
Packit 70b277
void
Packit 70b277
show_bc_version()
Packit 70b277
{
Packit 70b277
  printf("%s %s\n%s\n", PACKAGE, VERSION, BC_COPYRIGHT);
Packit 70b277
}
Packit 70b277
Packit 70b277
Packit 70b277
/* Print out the warranty information. */
Packit 70b277
Packit 70b277
void 
Packit 70b277
warranty(prefix)
Packit 70b277
     const char *prefix;
Packit 70b277
{
Packit 70b277
  printf ("\n%s", prefix);
Packit 70b277
  show_bc_version ();
Packit 70b277
  printf ("\n"
Packit 70b277
"    This program is free software; you can redistribute it and/or modify\n"
Packit 70b277
"    it under the terms of the GNU General Public License as published by\n"
Packit 70b277
"    the Free Software Foundation; either version 3 of the License , or\n"
Packit 70b277
"    (at your option) any later version.\n\n"
Packit 70b277
"    This program is distributed in the hope that it will be useful,\n"
Packit 70b277
"    but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
Packit 70b277
"    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"
Packit 70b277
"    GNU General Public License for more details.\n\n"
Packit 70b277
"    You should have received a copy of the GNU General Public License\n"
Packit 70b277
"    along with this program. If not, write to\n\n"
Packit 70b277
"       The Free Software Foundation, Inc.\n"
Packit 70b277
"       51 Franklin Street, Fifth Floor\n"
Packit 70b277
"       Boston, MA 02110-1335  USA\n\n");
Packit 70b277
}