Remove excessive boilerplate duplication from dspwrappers.
[gnushogi.git] / gnushogi / main.c
index 332a303..c7f4f63 100644 (file)
@@ -2,11 +2,14 @@
  * FILE: main.c
  *
  * ----------------------------------------------------------------------
- *
- * Copyright (c) 2012 Free Software Foundation
+ * Copyright (c) 1993, 1994, 1995 Matthias Mutz
+ * Copyright (c) 1999 Michael Vanier and the Free Software Foundation
  *
  * GNU SHOGI is based on GNU CHESS
  *
+ * Copyright (c) 1988, 1989, 1990 John Stanback
+ * Copyright (c) 1992 Free Software Foundation
+ *
  * This file is part of GNU SHOGI.
  *
  * GNU Shogi is free software; you can redistribute it and/or modify it
@@ -208,7 +211,7 @@ main (int argc, char **argv)
                 long j;
                 struct fileentry n;
 
-                printf(CP[66]);
+                fputs(CP[66], stdout);
                 n.f = n.t = 0;
                 n.flags = 0;
                 n.depth = 0;
@@ -242,7 +245,7 @@ main (int argc, char **argv)
                 int nr[MAXDEPTH];
                 struct fileentry n;
 
-                printf(CP[49]);
+                fputs(CP[49], stdout);
 
                 for (i = 0; i < MAXDEPTH; i++)
                     nr[i] = 0;
@@ -305,7 +308,7 @@ main (int argc, char **argv)
 
 
         default:
-            fprintf(stderr, CP[113]);
+            fputs(CP[113], stderr);
             exit(1);
         }