From: Alexander Barton Date: Mon, 21 Nov 2005 16:31:30 +0000 (+0000) Subject: Minor whitespace fixes. X-Git-Tag: rel-0-10-0-pre1~65 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=0570e13cace455a5058a508d0de22b54406288cd Minor whitespace fixes. --- diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index 976d2e0d..2fb5fc05 100644 --- a/src/ngircd/conf.c +++ b/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 *Item ) 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 diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h index f9e30da2..9c38e08b 100644 --- a/src/ngircd/conf.h +++ b/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 )); diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index a3533ef6..57d1f76f 100644 --- a/src/ngircd/ngircd.c +++ b/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 */