Date:	Friday April 27, 2001 @ 21:42
Author:	cameron

Update of /home/netrek/cvsroot/Vanilla/robots
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv19436/robots

Modified Files:
	inlcmds.c 
Log Message:
Sat Apr 28 11:39:39 2001  Benjamin `Quisar' Lerman  <quisar at quisar.ambre.net>

	* configure.in, docs/sample_sysdef.in, docs/Makefile.in,
	INSTALL.INL: change configure --with-inl to also set .sysdef and
	update installation instructions.

	* ntserv/commands.c, robotd/util.c, robots/inlcmds.c: remove
	compiler warnings.

	* tools/nuke.c, tools/Makefile.in: restore nuke for systems that
	do not have ipcrm(8).
	
	* tools/ltd_convert.c, tools/sortdb.c: return must give value.



****************************************

Index: Vanilla/robots/inlcmds.c
diff -u Vanilla/robots/inlcmds.c:1.7 Vanilla/robots/inlcmds.c:1.8
--- Vanilla/robots/inlcmds.c:1.7	Wed Jun  7 15:41:17 2000
+++ Vanilla/robots/inlcmds.c	Fri Apr 27 21:42:34 2001
@@ -66,110 +66,110 @@
   { "HELP",
     0,
     NULL,
-    do_help },				/* HELP */
+    (void (*)()) do_help },				/* HELP */
   { "TIME",
     C_PR_INGAME,
     "Shows the current game time.",
-    do_gametime },			/* GAMETIME */
+    (void (*)()) do_gametime },			/* GAMETIME */
   { "CAPTAIN",
     0,
     "Make yourself captain of team.",
-    do_captain },			/* CAPTAIN */
+    (void (*)()) do_captain },			/* CAPTAIN */
   { "|Pregame commands:", C_DESC | C_PR_PREGAME },
   { "HOME",
     C_PR_PREGAME,
     "Switch to home team.",
-    do_switchside },			/* HOME */
+    (void (*)()) do_switchside },			/* HOME */
   { "AWAY",
     C_PR_PREGAME,
     "Switch to away team.",
-    do_switchside },			/* AWAY */
+    (void (*)()) do_switchside },			/* AWAY */
   { "GAMETIME",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Sets regulation/overtime length. Ex: 'GAMETIME 90 30'",
-    do_gametime },			/* GAMETIME */
+    (void (*)()) do_gametime },			/* GAMETIME */
   { "ARMY",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Set starting armies.  Ex: 'ARMY 17'",
-    do_army },				/* ARMY */
+    (void (*)()) do_army },				/* ARMY */
   { "TNAME",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Change the name of your team.",
-    do_tname },				/* TNAME */
+    (void (*)()) do_tname },				/* TNAME */
   { "NEWGALAXY",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Reset the galaxy.",
-    do_resetgalaxy },			/* RESETGALAXY */
+    (void (*)()) do_resetgalaxy },			/* RESETGALAXY */
   { "CONFINE",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Confine teams from other races cores.",
-    do_confine },			/* CONFINE */
+    (void (*)()) do_confine },			/* CONFINE */
   { "START",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Start tournament.",
-    do_start },				/* START */
+    (void (*)()) do_start },				/* START */
   { "REGISTER",
     C_PR_CAPTAIN,
     "Toggle official/unofficial state of game.",
-    do_register },			/* REGISTER */
+    (void (*)()) do_register },			/* REGISTER */
   { "|Team selection commands:", C_DESC | C_PR_CAPTAIN | C_PR_PREGAME},
   { "FED",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Change your side to Federation.",
-    do_pickside },			/* FED */
+    (void (*)()) do_pickside },			/* FED */
   { "ROM",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Change your side to Romulan.",
-    do_pickside },			/* ROM */
+    (void (*)()) do_pickside },			/* ROM */
   { "KLI",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Change your side to Klingon.",
-    do_pickside },			/* KLI */
+    (void (*)()) do_pickside },			/* KLI */
   { "ORI",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Change your side to Orion.",
-    do_pickside },			/* ORI */
+    (void (*)()) do_pickside },			/* ORI */
   { "PASS",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Pass the first choice of sides to the home team.",
-    do_pickside },			/* PASS */
+    (void (*)()) do_pickside },			/* PASS */
   { "|Captain commands:", C_DESC | C_PR_CAPTAIN},
   { "UNCAPTAIN",
     C_PR_CAPTAIN,
     "Release captain duties.",
-    do_uncaptain },			/* UNCAPTAIN */
+    (void (*)()) do_uncaptain },			/* UNCAPTAIN */
   { "FREE",
     C_PR_CAPTAIN,
     "Frees a slot. Ex: 'FREE 0'",
-    do_free },				/* FREE */
+    (void (*)()) do_free },				/* FREE */
   { "PAUSE",
     C_PR_CAPTAIN | C_PR_INGAME,
     "Requests a pause.",
-    do_pause },				/* PAUSE */
+    (void (*)()) do_pause },				/* PAUSE */
   { "PAUSENOW",
     C_PR_CAPTAIN | C_PR_INGAME,
     "Imediately pauses the game.",
-    do_pause },				/* PAUSENOW */
+    (void (*)()) do_pause },				/* PAUSENOW */
   { "TIMEOUT",
     C_PR_CAPTAIN | C_PR_INGAME,
     "Call a timeout.",
-    do_timeout },			/* TIMEOUT */
+    (void (*)()) do_timeout },			/* TIMEOUT */
   { "CONTINUE",
     C_PR_CAPTAIN | C_PR_INGAME,
     "Requests that the game continues.",
-    do_pause },				/* CONTINUE */
+    (void (*)()) do_pause },				/* CONTINUE */
   { "RESTART",
     C_PR_CAPTAIN | C_PR_INGAME,
     "Restart, cancel game in progress.",
-    do_restart },			/* RESTART */
+    (void (*)()) do_restart },			/* RESTART */
   { "SCORE",
     C_PR_INGAME,
     "Shows the INL continuous score.",
-    do_cscore },			/* SCORE */
+    (void (*)()) do_cscore },			/* SCORE */
   { "SCOREMODE",
     C_PR_CAPTAIN | C_PR_PREGAME,
     "Switch scoring mode for winning condition.",
-    do_scoremode },
+    (void (*)()) do_scoremode },
 #if defined(AUTO_INL)
   { "The following votes can be used:	 (M=Majority, T=Team vote)", C_DESC },
   { "EXIT",
@@ -181,12 +181,12 @@
 
   /* The following commands do nothing - they are here to
      fool inl.c into thinking a real command was found */
-  { "CLIENT", 0, NULL, do_nothing },
-  { "PING", 0, NULL, do_nothing },
-  { "STATS", 0, NULL, do_nothing },
-  { "SBSTATS", 0, NULL, do_nothing },
-  { "QUEUE", 0, NULL, do_nothing },
-  { "WHOIS", 0, NULL, do_nothing },
+  { "CLIENT", 0, NULL, (void (*)()) do_nothing },
+  { "PING", 0, NULL, (void (*)()) do_nothing },
+  { "STATS", 0, NULL, (void (*)()) do_nothing },
+  { "SBSTATS", 0, NULL, (void (*)()) do_nothing },
+  { "QUEUE", 0, NULL, (void (*)()) do_nothing },
+  { "WHOIS", 0, NULL, (void (*)()) do_nothing },
   { NULL }
 };