Whitespace and parenthesis cleanup.
[gnushogi.git] / gnushogi / commondsp.c
index a5a3b42..36a5f8d 100644 (file)
@@ -124,8 +124,6 @@ movealgbr(short m, char *s)
 #endif /* BOOKTEST */
 
 
-
-
 /*
  * Generate move strings in different formats.
  *
@@ -217,7 +215,6 @@ algbr(short f, short t, short flag)
 }
 
 
-
 /*
  * Compare the string 's' to the list of legal moves available for the
  * opponent. If a match is found, make the move on the board.
@@ -352,7 +349,6 @@ VerifyMove(char *s, VerifyMove_mode iop, unsigned short *mv)
 }
 
 
-
 static int
 parser(char *f, int side, short *fpiece)
 {
@@ -402,7 +398,6 @@ skip()
 }
 
 
-
 void
 skipb()
 {
@@ -652,7 +647,6 @@ GetGame(void)
 }
 
 
-
 void
 SaveGame(void)
 {
@@ -800,7 +794,6 @@ SaveGame(void)
 }
 
 
-
 /*
  * GetXGame, SaveXGame and BookGame used to only be defined if
  * xshogi wasn't defined -- wonder why?
@@ -1107,7 +1100,6 @@ BookSave(void)
 }
 
 
-
 void
 ListGame(void)
 {
@@ -1235,7 +1227,6 @@ ListGame(void)
 }
 
 
-
 void
 FlagMove(char c)
 {
@@ -1258,8 +1249,6 @@ FlagMove(char c)
 }
 
 
-
-
 /*
  * Undo the most recent half-move.
  */
@@ -1321,7 +1310,6 @@ Undo(void)
 }
 
 
-
 void
 FlagString(unsigned short flags, char *s)
 {
@@ -1374,7 +1362,6 @@ FlagString(unsigned short flags, char *s)
 }
 
 
-
 void
 TestSpeed(void(*f)(short side, short ply,
                    short in_check, short blockable),
@@ -1429,7 +1416,6 @@ TestSpeed(void(*f)(short side, short ply,
 }
 
 
-
 void
 TestPSpeed(short(*f) (short side), unsigned j)
 {
@@ -1467,7 +1453,6 @@ TestPSpeed(short(*f) (short side), unsigned j)
 }
 
 
-
 void
 SetOppTime(char *s)
 {
@@ -1502,7 +1487,6 @@ SetOppTime(char *s)
 }
 
 
-
 void
 SetMachineTime(char *s)
 {
@@ -1537,9 +1521,6 @@ SetMachineTime(char *s)
 }
 
 
-
-
-
 /* FIXME!  This is truly the function from hell! */
 
 /*
@@ -2061,8 +2042,6 @@ InputCommand(char *command)
 }
 
 
-
-
 void
 SetTimeControl(void)
 {