Imported Upstream version 0.2.0+beta
[debian/yforth] / yforth.c
index 7ea1513c9fd49f47a63ebddb7c2d1e700a8a3c26..9eec173651b2061d951deb1d3f60070a2bf28e37 100644 (file)
--- a/yforth.c
+++ b/yforth.c
@@ -1,9 +1,19 @@
-/* yForth? - Written by Luca Padovani (C) 1996/97
- * ------------------------------------------------------------------------
- * This software is FreeWare as long as it comes with this header in each
- * source file, anyway you can use it or any part of it whatever
- * you want. It comes without any warranty, so use it at your own risk.
- * ------------------------------------------------------------------------
+/* yForth? - A Forth interpreter written in ANSI C
+ * Copyright (C) 2012 Luca Padovani
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+* ------------------------------------------------------------------------
  * Module name:     yforth.c
  * Abstract:        Main program
  */
@@ -40,9 +50,11 @@ static int silent,
 static struct image_header hd;
 
 void print_version() {
-    printf("yForth? v%d.%d%s - Written by Luca Padovani (C) 1996.\n\
-This software is Freeware, use it at your own risk.\n",
-       VER_HI, VER_LO, VER_TEST);
+  printf("yForth? v%d.%d%s  Copyright (C) 2012  Luca Padovani\n\
+This program comes with ABSOLUTELY NO WARRANTY.\n\
+This is free software, and you are welcome to redistribute it\n\
+under certain conditions; see LICENSE for details.\n",
+        VER_HI, VER_LO, VER_TEST);
 }
 
 void print_help(void) {