Minor whitespace fixes.
This commit is contained in:
parent
6b21249151
commit
0570e13cac
|
@ -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 <assert.h>
|
||||
|
@ -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
|
||||
|
|
|
@ -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 ));
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue