aboutsummaryrefslogtreecommitdiff
path: root/crypto/bio/bss_log.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
committerUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
commit6b691a5c85ddc4e407e32781841fee5c029506cd (patch)
tree436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/bio/bss_log.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
downloadopenssl-6b691a5c85ddc4e407e32781841fee5c029506cd.zip
openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.gz
openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.bz2
Change functions to ANSI C.
Diffstat (limited to 'crypto/bio/bss_log.c')
-rw-r--r--crypto/bio/bss_log.c23
1 files changed, 6 insertions, 17 deletions
diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c
index 89afb0e..b89e6e0 100644
--- a/crypto/bio/bss_log.c
+++ b/crypto/bio/bss_log.c
@@ -105,13 +105,12 @@ static BIO_METHOD methods_slg=
slg_free,
};
-BIO_METHOD *BIO_s_log()
+BIO_METHOD *BIO_s_log(void)
{
return(&methods_slg);
}
-static int MS_CALLBACK slg_new(bi)
-BIO *bi;
+static int MS_CALLBACK slg_new(BIO *bi)
{
bi->init=1;
bi->num=0;
@@ -124,18 +123,14 @@ BIO *bi;
return(1);
}
-static int MS_CALLBACK slg_free(a)
-BIO *a;
+static int MS_CALLBACK slg_free(BIO *a)
{
if (a == NULL) return(0);
xcloselog(a);
return(1);
}
-static int MS_CALLBACK slg_write(b,in,inl)
-BIO *b;
-char *in;
-int inl;
+static int MS_CALLBACK slg_write(BIO *b, char *in, int inl)
{
int ret= inl;
char* buf= in;
@@ -192,11 +187,7 @@ int inl;
return(ret);
}
-static long MS_CALLBACK slg_ctrl(b,cmd,num,ptr)
-BIO *b;
-int cmd;
-long num;
-char *ptr;
+static long MS_CALLBACK slg_ctrl(BIO *b, int cmd, long num, char *ptr)
{
switch (cmd)
{
@@ -210,9 +201,7 @@ char *ptr;
return(0);
}
-static int MS_CALLBACK slg_puts(bp,str)
-BIO *bp;
-char *str;
+static int MS_CALLBACK slg_puts(BIO *bp, char *str)
{
int n,ret;