about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2005-02-10 13:09:11 +0000
committerAlexander Barton <alex@barton.de>2005-02-10 13:09:11 +0000
commit1fdd5478c66583ac438cb73855e1dde959949535 (patch)
tree1d0ba9c613031255e19cb371491d9c95fba9ca5b /src
parent9537542647b014894227de81a59fb063fc0dc3e4 (diff)
downloadngircd-1fdd5478c66583ac438cb73855e1dde959949535.tar.gz
ngircd-1fdd5478c66583ac438cb73855e1dde959949535.zip
Renamed NGIRCd_FillVersion() to Fill_Version(); Code cleanups.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/ngircd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c
index e39229a0..0378856a 100644
--- a/src/ngircd/ngircd.c
+++ b/src/ngircd/ngircd.c
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: ngircd.c,v 1.91 2005/02/10 12:49:04 alex Exp $";
+static char UNUSED id[] = "$Id: ngircd.c,v 1.92 2005/02/10 13:09:11 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -61,7 +61,7 @@ LOCAL VOID Show_Help PARAMS(( VOID ));
 LOCAL VOID Pidfile_Create PARAMS(( LONG ));
 LOCAL VOID Pidfile_Delete PARAMS(( VOID ));
 
-LOCAL VOID NGIRCd_FillVersion PARAMS(( VOID ));
+LOCAL VOID Fill_Version PARAMS(( VOID ));
 
 LOCAL VOID Setup_FDStreams PARAMS(( VOID ));
 
@@ -88,7 +88,7 @@ main( int argc, const char *argv[] )
 	strlcpy( NGIRCd_ConfFile, SYSCONFDIR, sizeof( NGIRCd_ConfFile ));
 	strlcat( NGIRCd_ConfFile, CONFIG_FILE, sizeof( NGIRCd_ConfFile ));
 
-	NGIRCd_FillVersion( );
+	Fill_Version( );
 
 	/* Kommandozeile parsen */
 	for( i = 1; i < argc; i++ )
@@ -391,7 +391,7 @@ main( int argc, const char *argv[] )
 
 
 LOCAL VOID
-NGIRCd_FillVersion( VOID )
+Fill_Version( VOID )
 {
 	NGIRCd_VersionAddition[0] = '\0';
 
@@ -443,7 +443,7 @@ NGIRCd_FillVersion( VOID )
 #else
 	snprintf( NGIRCd_Version, sizeof NGIRCd_Version, "%s %s-%s", PACKAGE_NAME, PACKAGE_VERSION, NGIRCd_VersionAddition);
 #endif
-} /* NGIRCd_FillVersion */
+} /* Fill_Version */
 
 
 GLOBAL VOID
@@ -637,7 +637,7 @@ Pidfile_Create( LONG pid )
 LOCAL VOID
 Setup_FDStreams( VOID )
 {
-	int fd;
+	INT fd;
 
 	/* Test if we can open /dev/null for reading and writing. If not
 	 * we are most probably chrooted already and the server has been