summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ex_data.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-17 17:50:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-17 17:50:46 +0000
commitef1acec489edffbf19f2f024833af10577413880 (patch)
tree3fbf0f06bde71b29cabf346dfd4bd3488ba10754 /lib/libcrypto/ex_data.c
parent12389820fc8dfa2e85dc977ba297ea1e7063ec53 (diff)
some KNF cleanup following the script
Diffstat (limited to 'lib/libcrypto/ex_data.c')
-rw-r--r--lib/libcrypto/ex_data.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libcrypto/ex_data.c b/lib/libcrypto/ex_data.c
index 4c09f9ee020..0b27d57b45b 100644
--- a/lib/libcrypto/ex_data.c
+++ b/lib/libcrypto/ex_data.c
@@ -211,8 +211,8 @@ impl_check(void)
#define IMPL_CHECK if(!impl) impl_check();
/* API functions to get/set the "ex_data" implementation */
-const CRYPTO_EX_DATA_IMPL
-*CRYPTO_get_ex_data_implementation(void)
+const CRYPTO_EX_DATA_IMPL *
+CRYPTO_get_ex_data_implementation(void)
{
IMPL_CHECK
return impl;
@@ -306,8 +306,8 @@ def_cleanup_cb(void *a_void)
/* Return the EX_CLASS_ITEM from the "ex_data" hash table that corresponds to a
* given class. Handles locking. */
-static EX_CLASS_ITEM
-*def_get_class(int class_index)
+static EX_CLASS_ITEM *
+def_get_class(int class_index)
{
EX_CLASS_ITEM d, *p, *gen;
EX_DATA_CHECK(return NULL;)
@@ -622,8 +622,8 @@ CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val)
/* For a given CRYPTO_EX_DATA_ variable, get the value corresponding to a
* particular index in the class used by this variable */
-void
-*CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx)
+void *
+CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx)
{
if (ad->sk == NULL)
return (0);