From 2e080839425d10a274e835d261a91b5303d3e3da Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 17 Apr 2014 17:50:45 +0000 Subject: some KNF cleanup following the script --- src/lib/libcrypto/bio/bio_lib.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/lib/libcrypto/bio/bio_lib.c') diff --git a/src/lib/libcrypto/bio/bio_lib.c b/src/lib/libcrypto/bio/bio_lib.c index c226d943af..485374931b 100644 --- a/src/lib/libcrypto/bio/bio_lib.c +++ b/src/lib/libcrypto/bio/bio_lib.c @@ -63,8 +63,8 @@ #include #include -BIO -*BIO_new(BIO_METHOD *method) +BIO * +BIO_new(BIO_METHOD *method) { BIO *ret = NULL; @@ -352,8 +352,8 @@ BIO_int_ctrl(BIO *b, int cmd, long larg, int iarg) return (BIO_ctrl(b, cmd, larg, (char *)&i)); } -char -*BIO_ptr_ctrl(BIO *b, int cmd, long larg) +char * +BIO_ptr_ctrl(BIO *b, int cmd, long larg) { char *p = NULL; @@ -435,8 +435,8 @@ BIO_ctrl_wpending(BIO *bio) /* put the 'bio' on the end of b's list of operators */ -BIO -*BIO_push(BIO *b, BIO *bio) +BIO * +BIO_push(BIO *b, BIO *bio) { BIO *lb; @@ -454,8 +454,8 @@ BIO } /* Remove the first and return the rest */ -BIO -*BIO_pop(BIO *b) +BIO * +BIO_pop(BIO *b) { BIO *ret; @@ -475,8 +475,8 @@ BIO return (ret); } -BIO -*BIO_get_retry_BIO(BIO *bio, int *reason) +BIO * +BIO_get_retry_BIO(BIO *bio, int *reason) { BIO *b, *last; @@ -500,8 +500,8 @@ BIO_get_retry_reason(BIO *bio) return (bio->retry_reason); } -BIO -*BIO_find_type(BIO *bio, int type) +BIO * +BIO_find_type(BIO *bio, int type) { int mt, mask; @@ -522,8 +522,8 @@ BIO return (NULL); } -BIO -*BIO_next(BIO *b) +BIO * +BIO_next(BIO *b) { if (!b) return NULL; @@ -547,8 +547,8 @@ BIO_free_all(BIO *bio) } } -BIO -*BIO_dup_chain(BIO *in) +BIO * +BIO_dup_chain(BIO *in) { BIO *ret = NULL, *eoc = NULL, *bio, *new_bio; @@ -611,8 +611,8 @@ BIO_set_ex_data(BIO *bio, int idx, void *data) return (CRYPTO_set_ex_data(&(bio->ex_data), idx, data)); } -void -*BIO_get_ex_data(BIO *bio, int idx) +void * +BIO_get_ex_data(BIO *bio, int idx) { return (CRYPTO_get_ex_data(&(bio->ex_data), idx)); } -- cgit v1.2.3-55-g6feb