- Added missing PARAMS().

This commit is contained in:
Alexander Barton 2003-01-03 22:03:51 +00:00
parent 2070cfe107
commit c9540015c8
2 changed files with 7 additions and 7 deletions

View File

@ -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 */

View File

@ -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