diff options
author | Ulf Möller <ulf@openssl.org> | 2000-05-16 00:54:43 +0200 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-05-16 00:54:43 +0200 |
commit | 0e1c06128adbfd2d88dc304db2262140bad045fd (patch) | |
tree | 11e9bdbd479a92c1cddc1b583543890bc95adb03 /crypto/bio/bss_null.c | |
parent | prototype. (diff) | |
download | openssl-0e1c06128adbfd2d88dc304db2262140bad045fd.tar.xz openssl-0e1c06128adbfd2d88dc304db2262140bad045fd.zip |
Get rid of more non-ANSI declarations.
Diffstat (limited to 'crypto/bio/bss_null.c')
-rw-r--r-- | crypto/bio/bss_null.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crypto/bio/bss_null.c b/crypto/bio/bss_null.c index aee18e3ada..46b73339df 100644 --- a/crypto/bio/bss_null.c +++ b/crypto/bio/bss_null.c @@ -61,11 +61,11 @@ #include "cryptlib.h" #include <openssl/bio.h> -static int null_write(BIO *h,char *buf,int num); -static int null_read(BIO *h,char *buf,int size); -static int null_puts(BIO *h,char *str); -static int null_gets(BIO *h,char *str,int size); -static long null_ctrl(BIO *h,int cmd,long arg1,char *arg2); +static int null_write(BIO *h, const char *buf, int num); +static int null_read(BIO *h, char *buf, int size); +static int null_puts(BIO *h, const char *str); +static int null_gets(BIO *h, char *str, int size); +static long null_ctrl(BIO *h, int cmd, long arg1, void *arg2); static int null_new(BIO *h); static int null_free(BIO *data); static BIO_METHOD null_method= @@ -106,12 +106,12 @@ static int null_read(BIO *b, char *out, int outl) return(0); } -static int null_write(BIO *b, char *in, int inl) +static int null_write(BIO *b, const char *in, int inl) { return(inl); } -static long null_ctrl(BIO *b, int cmd, long num, char *ptr) +static long null_ctrl(BIO *b, int cmd, long num, void *ptr) { long ret=1; @@ -142,7 +142,7 @@ static int null_gets(BIO *bp, char *buf, int size) return(0); } -static int null_puts(BIO *bp, char *str) +static int null_puts(BIO *bp, const char *str) { if (str == NULL) return(0); return(strlen(str)); |