@@ -29,16 +29,16 @@ /* * Forward declarations */ -static int BioWrite _ANSI_ARGS_((BIO *h, CONST char *buf, int num)); -static int BioRead _ANSI_ARGS_((BIO *h, char *buf, int num)); -static int BioPuts _ANSI_ARGS_((BIO *h, CONST char *str)); -static long BioCtrl _ANSI_ARGS_((BIO *h, int cmd, long arg1, void *ptr)); -static int BioNew _ANSI_ARGS_((BIO *h)); -static int BioFree _ANSI_ARGS_((BIO *h)); +static int BioWrite (BIO *h, const char *buf, int num); +static int BioRead (BIO *h, char *buf, int num); +static int BioPuts (BIO *h, const char *str); +static long BioCtrl (BIO *h, int cmd, long arg1, void *ptr); +static int BioNew (BIO *h); +static int BioFree (BIO *h); BIO *BIO_new_tcl(State *statePtr, int flags) { BIO *bio; static BIO_METHOD *BioMethods = NULL; #ifdef TCLTLS_SSL_USE_FASTPATH @@ -108,11 +108,11 @@ BIO_set_init(bio, 1); return(bio); } -static int BioWrite(BIO *bio, CONST char *buf, int bufLen) { +static int BioWrite(BIO *bio, const char *buf, int bufLen) { Tcl_Channel chan; int ret; int tclEofChan, tclErrno; chan = Tls_GetParent((State *) BIO_get_data(bio), 0); @@ -212,11 +212,11 @@ dprintf("BioRead(%p, , %d) [%p] returning %i", (void *) bio, bufLen, (void *) chan, ret); return(ret); } -static int BioPuts(BIO *bio, CONST char *str) { +static int BioPuts(BIO *bio, const char *str) { dprintf("BioPuts(%p, ) called", bio, str); return BioWrite(bio, str, (int) strlen(str)); }