commit 0570e13cace455a5058a508d0de22b54406288cd from: Alexander Barton date: Mon Nov 21 16:31:30 2005 UTC Minor whitespace fixes. commit - 6b212491512aa0c01e263ce87fac1e6b671d78c9 commit + 0570e13cace455a5058a508d0de22b54406288cd blob - 976d2e0d0f1bcb6f81ab8d8461f4a230b11fbc7f blob + 2fb5fc0533a24a11330f0be916ca07862019e7c6 --- src/ngircd/conf.c +++ src/ngircd/conf.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: conf.c,v 1.88 2005/10/11 19:29:23 alex Exp $"; +static char UNUSED id[] = "$Id: conf.c,v 1.89 2005/11/21 16:31:30 alex Exp $"; #include "imp.h" #include @@ -1013,6 +1013,7 @@ Config_Error_TooLong ( const int Line, const char *Ite Config_Error( LOG_WARNING, "%s, line %d: Value of \"%s\" too long!", NGIRCd_ConfFile, Line, Item ); } + static void Config_Error_NaN( const int Line, const char *Item ) { @@ -1020,6 +1021,7 @@ Config_Error_NaN( const int Line, const char *Item ) NGIRCd_ConfFile, Line, Item ); } + #ifdef PROTOTYPES static void Config_Error( const int Level, const char *Format, ... ) #else blob - f9e30da20b39ef30cad2ad94d88b3c6df4b14845 blob + 9c38e08b4fa1fc7db22adfd5c727cf858b3a03eb --- src/ngircd/conf.h +++ src/ngircd/conf.h @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: conf.h,v 1.37 2005/07/29 09:29:47 fw Exp $ + * $Id: conf.h,v 1.38 2005/11/21 16:31:30 alex Exp $ * * Configuration management (header) */ @@ -129,9 +129,9 @@ GLOBAL int Conf_MaxJoins; GLOBAL int Conf_MaxConnectionsIP; -GLOBAL void Conf_Init PARAMS((void )); -GLOBAL void Conf_Rehash PARAMS((void )); -GLOBAL int Conf_Test PARAMS((void )); +GLOBAL void Conf_Init PARAMS((void)); +GLOBAL void Conf_Rehash PARAMS((void)); +GLOBAL int Conf_Test PARAMS((void)); GLOBAL void Conf_UnsetServer PARAMS(( CONN_ID Idx )); GLOBAL void Conf_SetServer PARAMS(( int ConfServer, CONN_ID Idx )); blob - a3533ef68a4f4c0305eee733395cc7b870ab500a blob + 57d1f76fdfcb6cfad9ffdc0a595c7290b9ec93c9 --- src/ngircd/ngircd.c +++ src/ngircd/ngircd.c @@ -12,7 +12,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: ngircd.c,v 1.110 2005/09/02 17:12:58 alex Exp $"; +static char UNUSED id[] = "$Id: ngircd.c,v 1.111 2005/11/21 16:31:30 alex Exp $"; /** * @file @@ -482,27 +482,27 @@ Initialize_Signal_Handler( void ) #endif /* Signal-Handler einhaengen */ - sigaction( SIGINT, &saction, NULL ); - sigaction( SIGQUIT, &saction, NULL ); - sigaction( SIGTERM, &saction, NULL); - sigaction( SIGHUP, &saction, NULL); - sigaction( SIGCHLD, &saction, NULL); + sigaction(SIGINT, &saction, NULL); + sigaction(SIGQUIT, &saction, NULL); + sigaction(SIGTERM, &saction, NULL); + sigaction(SIGHUP, &saction, NULL); + sigaction(SIGCHLD, &saction, NULL); /* einige Signale ignorieren */ saction.sa_handler = SIG_IGN; - sigaction( SIGPIPE, &saction, NULL ); + sigaction(SIGPIPE, &saction, NULL); #else /* kein sigaction() vorhanden */ /* Signal-Handler einhaengen */ - signal( SIGINT, Signal_Handler ); - signal( SIGQUIT, Signal_Handler ); - signal( SIGTERM, Signal_Handler ); - signal( SIGHUP, Signal_Handler ); - signal( SIGCHLD, Signal_Handler ); + signal(SIGINT, Signal_Handler); + signal(SIGQUIT, Signal_Handler); + signal(SIGTERM, Signal_Handler); + signal(SIGHUP, Signal_Handler); + signal(SIGCHLD, Signal_Handler); /* einige Signale ignorieren */ - signal( SIGPIPE, SIG_IGN ); + signal(SIGPIPE, SIG_IGN); #endif } /* Initialize_Signal_Handler */