X-Git-Url: http://git.shiar.net/netris.git/blobdiff_plain/53e2cfa11fb917fad4019d2251b26df2f7b1f4f2..3b453bab5c990f862a4915ae4e5e4a0e90b167f2:/util.c?ds=sidebyside diff --git a/util.c b/util.c index fc70d57..4f702e6 100644 --- a/util.c +++ b/util.c @@ -33,8 +33,9 @@ #include "util.h" static MyEventType AlarmGenFunc(EventGenRec *gen, MyEvent *event); -static EventGenRec alarmGen = - { &alarmGen, 0, FT_read, -1, AlarmGenFunc, EM_alarm }; +static EventGenRec alarmGen = { + &alarmGen, 0, FT_read, -1, AlarmGenFunc, EM_alarm +}; static EventGenRec *nextGen = &alarmGen; static int myRandSeed = 1; @@ -58,7 +59,8 @@ void Header(void) fprintf(stderr, "NETRIS %s\t(c) 1994-1996,1999 Mark H. Weaver \n" " \t(c) 2002 Shiar \n\n", - version_string); + version_string + ); } void Usage(void) @@ -86,7 +88,8 @@ void Usage(void) "\n" " -r, --robot \tExecute program to control the game instead of keyboard\n" " -F, --fair-robot\tUse fair robot interface\n" - "\n", DEFAULT_PORT, DEFAULT_KEYS); + "\n", DEFAULT_PORT, DEFAULT_KEYS + ); } void DistInfo(void) @@ -105,7 +108,8 @@ void DistInfo(void) "You should have received a copy of the GNU General Public License\n" "along with this program; if not, write to the Free Software\n" "Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n" - "\n"); + "\n" + ); } void Rules(void) @@ -129,7 +133,8 @@ void Rules(void) "multiple rows.\n" "\n" "The longest surviving player wins the game.\n" - "\n"); + "\n" + ); } ///////////// RANDOM /////////////