]> arthur.barton.de Git - ngircd-alex.git/commitdiff
fix Config_Error_NaN prototype (first argument missed "const")
authorFlorian Westphal <fw@strlen.de>
Sat, 19 Mar 2005 15:46:38 +0000 (15:46 +0000)
committerFlorian Westphal <fw@strlen.de>
Sat, 19 Mar 2005 15:46:38 +0000 (15:46 +0000)
src/ngircd/conf.c

index f00c263346cdbc250cf525a57f9bbe05a01c4d7e..cc56e6c09d1efa17f2b3ed4d5283c1fd6d510064 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: conf.c,v 1.70 2005/03/15 16:56:18 alex Exp $";
+static char UNUSED id[] = "$Id: conf.c,v 1.71 2005/03/19 15:46:38 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -66,8 +66,8 @@ LOCAL VOID Handle_CHANNEL PARAMS(( INT Line, CHAR *Var, CHAR *Arg ));
 
 LOCAL VOID Config_Error PARAMS(( CONST INT Level, CONST CHAR *Format, ... ));
 
-LOCAL VOID Config_Error_NaN PARAMS(( INT LINE, CONST CHAR *Value ));
-LOCAL VOID Config_Error_TooLong PARAMS(( INT LINE, CONST CHAR *Value ));
+LOCAL VOID Config_Error_NaN PARAMS(( const int LINE, const char *Value ));
+LOCAL VOID Config_Error_TooLong PARAMS(( const int LINE, const char *Value ));
 
 LOCAL VOID Init_Server_Struct PARAMS(( CONF_SERVER *Server ));
 
@@ -1009,13 +1009,13 @@ Validate_Config( BOOLEAN Configtest )
 
 
 LOCAL VOID
-Config_Error_TooLong ( CONST INT Line, CONST CHAR *Item )
+Config_Error_TooLong ( const int Line, const char *Item )
 {
        Config_Error( LOG_WARNING, "%s, line %d: Value of \"%s\" too long!", NGIRCd_ConfFile, Line, Item );
 }
 
 LOCAL VOID
-Config_Error_NaN( CONST INT Line, CONST CHAR *Item )
+Config_Error_NaN( const int Line, const char *Item )
 {
        Config_Error( LOG_WARNING, "%s, line %d: Value of \"%s\" is not a number!", NGIRCd_ConfFile, Line, Item );
 }