[NeoStats-Devel] [Commits] r47 - branches/3.0

[email protected]
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Fish
Date: Fri Jul  1 17:44:47 2005
New Revision: 47

Modified:
   branches/3.0/configure.in
   branches/3.0/warserv.c
   branches/3.0/warserv.h
Log:
kill compiler warnings

Modified: branches/3.0/configure.in
==============================================================================
--- branches/3.0/configure.in	(original)
+++ branches/3.0/configure.in	Fri Jul  1 17:44:47 2005
@@ -13,7 +13,7 @@
 AC_DEFINE_UNQUOTED(MODULE_REV, "$MODULE_REV")
 DIRINST=~/NeoStats3.0/
 AC_PREFIX_DEFAULT(~/NeoStats3.0/)
-CFLAGS="$CFLAGS -O2"
+CFLAGS="$CFLAGS -O2 -fno-strict-aliasing"
 
 case "$host_os" in
 *openbsd*)

Modified: branches/3.0/warserv.c
==============================================================================
--- branches/3.0/warserv.c	(original)
+++ branches/3.0/warserv.c	Fri Jul  1 17:44:47 2005
@@ -24,6 +24,9 @@
 #include MODULECONFIG
 #include "warserv.h"
 
+static int ws_cmd_set_chan(CmdParams *cmdparams, SET_REASON reason) ;
+
+
 /** Copyright info */
 const char *ws_copyright[] = {
 	"Copyright (c) 2004-2005 Justin Hammond, Mark Hetherington, DeadNotBuried",

Modified: branches/3.0/warserv.h
==============================================================================
--- branches/3.0/warserv.h	(original)
+++ branches/3.0/warserv.h	Fri Jul  1 17:44:47 2005
@@ -76,7 +76,6 @@
 int ShowPlayersWarGame (CmdParams* cmdparams);
 int ShowTurnWarGame (CmdParams* cmdparams);
 int PlayCardsWarGame (CmdParams* cmdparams);
-static int ws_cmd_set_chan (CmdParams *cmdparams, SET_REASON reason);
 void wardealcards(void);
 void playershufflecards(void);
 void stopwar(void);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.