summaryrefslogtreecommitdiffstats
path: root/crypto/async/arch/async_posix.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-10-06 11:25:16 +0100
committerMatt Caswell <matt@openssl.org>2015-11-20 23:34:35 +0000
commit636ca4ff64d0c512b5f9e01ddc644e5f7661849e (patch)
treef8ba43256b35baad448da9eb614b1bce384cabb0 /crypto/async/arch/async_posix.c
parent134b28f883b0a24c625600b328f4c5750c849a24 (diff)
Normalise ASYNC naming
Tidied up the naming of functions and structures to be consistent Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/async/arch/async_posix.c')
-rw-r--r--crypto/async/arch/async_posix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/async/arch/async_posix.c b/crypto/async/arch/async_posix.c
index 4333c87f1d..b01e69a5f5 100644
--- a/crypto/async/arch/async_posix.c
+++ b/crypto/async/arch/async_posix.c
@@ -54,14 +54,14 @@
#include "../async_locl.h"
#include <openssl/async.h>
-#ifdef ASYNC_SYSV
+#ifdef ASYNC_POSIX
# include <stddef.h>
# include <ucontext.h>
# include <unistd.h>
# include <openssl/crypto.h>
# include <openssl/async.h>
-__thread ASYNC_CTX *sysvctx;
+__thread async_ctx *sysvctx;
#define STACKSIZE 32768
@@ -69,7 +69,7 @@ __thread size_t pool_max_size = 0;
__thread size_t pool_curr_size = 0;
__thread STACK_OF(ASYNC_JOB) *pool = NULL;
-int ASYNC_FIBRE_init(ASYNC_FIBRE *fibre)
+int async_fibre_init(async_fibre *fibre)
{
void *stack = NULL;
@@ -85,7 +85,7 @@ int ASYNC_FIBRE_init(ASYNC_FIBRE *fibre)
return 1;
}
-void ASYNC_FIBRE_free(ASYNC_FIBRE *fibre)
+void async_fibre_free(async_fibre *fibre)
{
if (fibre->fibre.uc_stack.ss_sp)
OPENSSL_free(fibre->fibre.uc_stack.ss_sp);