[NeoStats-Devel] [Commits] r2762 - trunk/src

[email protected] Sun, 21 Aug 2005 09:01:01 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Sun Aug 21 07:00:59 2005
New Revision: 2762

Modified:
   trunk/src/exclude.c
Log:
fix warnings

Modified: trunk/src/exclude.c
==============================================================================
--- trunk/src/exclude.c	(original)
+++ trunk/src/exclude.c	Sun Aug 21 07:00:59 2005
@@ -38,7 +38,7 @@
 #include "helpstrings.h"
 
 /* Prototype for module exclude command handler */
-static int mod_cmd_exclude( const CmdParams *cmdparams );
+static int mod_cmd_exclude( CmdParams *cmdparams );
 
 /* Exclude types */
 typedef enum NS_EXCLUDE
@@ -119,7 +119,7 @@
  *  @return NS_TRUE to abort load or NS_FALSE to continue loading
  */
 
-static int new_global_exclude( const void *data, int size )
+static int new_global_exclude( void *data, int size )
 {
 	new_exclude( exclude_list, data );
 	return NS_FALSE;
@@ -137,7 +137,7 @@
  *  @return NS_TRUE to abort load or NS_FALSE to continue loading
  */
 
-static int new_mod_exclude( const void *data, int size )
+static int new_mod_exclude( void *data, int size )
 {
 	new_exclude( excludelists[GET_CUR_MODNUM()], data );
 	return NS_FALSE;
@@ -358,7 +358,7 @@
  *  @return NS_SUCCESS if succeeds, NS_FAILURE if not 
  */
 
-static int mod_cmd_exclude_add( const CmdParams *cmdparams )
+static int mod_cmd_exclude_add( CmdParams *cmdparams )
 {
 	return do_exclude_add( excludelists[cmdparams->bot->moduleptr->modnum], cmdparams );
 }