about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2003-01-03 22:03:51 +0000
committerAlexander Barton <alex@barton.de>2003-01-03 22:03:51 +0000
commitc9540015c88c280a19ebbd872e7dcba47d5707ae (patch)
treee28dbe50bf41f9f21a4013cbe8187a1359a908c1
parent2070cfe1078ab78cba3f785b639a3b845609f8d8 (diff)
downloadngircd-c9540015c88c280a19ebbd872e7dcba47d5707ae.tar.gz
ngircd-c9540015c88c280a19ebbd872e7dcba47d5707ae.zip
- Added missing PARAMS().
-rw-r--r--src/ngircd/parse.h4
-rw-r--r--src/portab/portab.h10
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ngircd/parse.h b/src/ngircd/parse.h
index 0ace2856..217ca131 100644
--- a/src/ngircd/parse.h
+++ b/src/ngircd/parse.h
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: parse.h,v 1.9 2002/12/18 13:53:20 alex Exp $
+ * $Id: parse.h,v 1.10 2003/01/03 22:03:51 alex Exp $
  *
  * IRC command parser and validator (header)
  */
@@ -30,7 +30,7 @@ typedef struct _REQUEST			/* vgl. RFC 2812, 2.3 */
 typedef struct _COMMAND
 {
 	CHAR *name;		/* command name */
-	BOOLEAN (*function)( CLIENT *Client, REQUEST *Request );
+	BOOLEAN (*function) PARAMS(( CLIENT *Client, REQUEST *Request ));
 	CLIENT_TYPE type;	/* valid client types (bit mask) */
 	LONG lcount, rcount;	/* number of local and remote calls */
 	LONG bytes;		/* number of bytes created */
diff --git a/src/portab/portab.h b/src/portab/portab.h
index 83f82ed6..333ec81e 100644
--- a/src/portab/portab.h
+++ b/src/portab/portab.h
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: portab.h,v 1.11 2002/12/26 14:48:05 alex Exp $
+ * $Id: portab.h,v 1.12 2003/01/03 22:03:51 alex Exp $
  *
  * Portability functions and declarations (header for libngbportab).
  */
@@ -134,19 +134,19 @@ typedef UINT8 BOOLEAN;
 #endif
 
 #ifndef HAVE_SNPRINTF
-EXTERN INT snprintf( CHAR *str, size_t count, CONST CHAR *fmt, ... );
+EXTERN INT snprintf PARAMS(( CHAR *str, size_t count, CONST CHAR *fmt, ... ));
 #endif
 
 #ifndef HAVE_STRLCAT
-EXTERN size_t strlcat( CHAR *dst, CONST CHAR *src, size_t size );
+EXTERN size_t strlcat PARAMS(( CHAR *dst, CONST CHAR *src, size_t size ));
 #endif
 
 #ifndef HAVE_STRLCPY
-EXTERN size_t strlcpy( CHAR *dst, CONST CHAR *src, size_t size );
+EXTERN size_t strlcpy PARAMS(( CHAR *dst, CONST CHAR *src, size_t size ));
 #endif
 
 #ifndef HAVE_VSNPRINTF
-EXTERN INT vsnprintf( CHAR *str, size_t count, CONST CHAR *fmt, va_list args );
+EXTERN INT vsnprintf PARAMS(( CHAR *str, size_t count, CONST CHAR *fmt, va_list args ));
 #endif