Regularly check for user input when searching, to have a chance to catch EOF from...
[gnushogi.git] / gnushogi / pat2inc.c
index 5399924..945871e 100644 (file)
@@ -4,11 +4,14 @@
  *     Convert GNU Shogi pattern textfile to an include file.
  *
  * ----------------------------------------------------------------------
- *
- * 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
@@ -48,7 +51,7 @@ small_short color[NO_SQUARES];
 */
 
 void
-test_distance()
+test_distance(void)
 {
     short side, piece, f, t, d;