commit c9540015c88c280a19ebbd872e7dcba47d5707ae from: Alexander Barton date: Fri Jan 03 22:03:51 2003 UTC - Added missing PARAMS(). commit - 2070cfe1078ab78cba3f785b639a3b845609f8d8 commit + c9540015c88c280a19ebbd872e7dcba47d5707ae blob - 0ace285631cb260430d561fd1e5b37d69facbefd blob + 217ca131dd16c44a9f117cfeeb034467453de77f --- src/ngircd/parse.h +++ 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 */ blob - 83f82ed6ac7baf43e57807afb2ca3435d6c579ff blob + 333ec81e8d77e4a7a9c68ffcad2374ff9e4ac753 --- src/portab/portab.h +++ 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