From 41a15c4f0f2535591ba9f258cf76119f86477c43 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Thu, 31 Mar 2005 09:26:39 +0000 Subject: Give everything prototypes (well, everything that's actually used). --- ssl/bio_ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ssl/bio_ssl.c') diff --git a/ssl/bio_ssl.c b/ssl/bio_ssl.c index d683ee4..1db216b 100644 --- a/ssl/bio_ssl.c +++ b/ssl/bio_ssl.c @@ -465,9 +465,9 @@ static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr) break; case BIO_CTRL_GET_CALLBACK: { - void (**fptr)(); + void (**fptr)(const SSL *ssl,int type,int val); - fptr=(void (**)())ptr; + fptr=(void (**)(const SSL *ssl,int type,int val))ptr; *fptr=SSL_get_info_callback(ssl); } break; -- cgit v1.1