repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 74cb2e27684893d261619a0f48b950ab1774e662:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 74cb2e27684893d261619a0f48b950ab1774e662
Author: Alexander Barton 
Date:   Fri Jul 22 21:31:05 2005 +0000

    Eliminate some compiler warnings ("unused parameter").

diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 565d3cb8cc772b6fc948c69d3b6f9dd04b2f3e52..
index ..d307323e1031aa858962f9e9e2b4e513407eeaf8 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -17,7 +17,7 @@
 #include "portab.h"
 #include "io.h"

-static char UNUSED id[] = "$Id: conn.c,v 1.164 2005/07/13 16:06:55 fw Exp $";
+static char UNUSED id[] = "$Id: conn.c,v 1.165 2005/07/22 21:31:05 alex Exp $";

 #include "imp.h"
 #include 
@@ -115,7 +115,7 @@ cb_listen(int sock, short irrelevant)


 static void
-cb_connserver(int sock, short what)
+cb_connserver(int sock, UNUSED short what)
 {
 	int res, err;
 	socklen_t sock_len;
diff --git a/src/ngircd/parse.c b/src/ngircd/parse.c
index e0df6d8a0bc12bec26be4e13aa4d51a423c36d43..
index ..623855da08d02fc016f0ed03d601e756afd57dae 100644
--- a/src/ngircd/parse.c
+++ b/src/ngircd/parse.c
@@ -12,7 +12,7 @@

 #include "portab.h"

-static char UNUSED id[] = "$Id: parse.c,v 1.63 2005/06/24 20:56:46 alex Exp $";
+static char UNUSED id[] = "$Id: parse.c,v 1.64 2005/07/22 21:31:05 alex Exp $";

 /**
  * @file
@@ -317,7 +317,7 @@ Validate_Prefix( CONN_ID Idx, REQUEST *Req, bool *Closed )


 LOCAL bool
-Validate_Command( CONN_ID Idx, REQUEST *Req, bool *Closed )
+Validate_Command( UNUSED CONN_ID Idx, UNUSED REQUEST *Req, bool *Closed )
 {
 	assert( Idx >= 0 );
 	assert( Req != NULL );
@@ -328,7 +328,7 @@ Validate_Command( CONN_ID Idx, REQUEST *Req, bool *Closed )


 LOCAL bool
-Validate_Args( CONN_ID Idx, REQUEST *Req, bool *Closed )
+Validate_Args( UNUSED CONN_ID Idx, UNUSED REQUEST *Req, bool *Closed )
 {
 	assert( Idx >= 0 );
 	assert( Req != NULL );

-----END OF PAGE-----