diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/evp/bio_ok.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) |
Change functions to ANSI C.
Diffstat (limited to 'crypto/evp/bio_ok.c')
-rw-r--r-- | crypto/evp/bio_ok.c | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/crypto/evp/bio_ok.c b/crypto/evp/bio_ok.c index 09ce86f3ce..183835b0b1 100644 --- a/crypto/evp/bio_ok.c +++ b/crypto/evp/bio_ok.c @@ -188,13 +188,12 @@ static BIO_METHOD methods_ok= ok_free, }; -BIO_METHOD *BIO_f_reliable() +BIO_METHOD *BIO_f_reliable(void) { return(&methods_ok); } -static int ok_new(bi) -BIO *bi; +static int ok_new(BIO *bi) { BIO_OK_CTX *ctx; @@ -216,8 +215,7 @@ BIO *bi; return(1); } -static int ok_free(a) -BIO *a; +static int ok_free(BIO *a) { if (a == NULL) return(0); memset(a->ptr,0,sizeof(BIO_OK_CTX)); @@ -228,10 +226,7 @@ BIO *a; return(1); } -static int ok_read(b,out,outl) -BIO *b; -char *out; -int outl; +static int ok_read(BIO *b, char *out, int outl) { int ret=0,i,n; BIO_OK_CTX *ctx; @@ -302,10 +297,7 @@ int outl; return(ret); } -static int ok_write(b,in,inl) -BIO *b; -char *in; -int inl; +static int ok_write(BIO *b, char *in, int inl) { int ret=0,n,i; BIO_OK_CTX *ctx; @@ -363,11 +355,7 @@ int inl; return(ret); } -static long ok_ctrl(b,cmd,num,ptr) -BIO *b; -int cmd; -long num; -char *ptr; +static long ok_ctrl(BIO *b, int cmd, long num, char *ptr) { BIO_OK_CTX *ctx; EVP_MD *md; |