Convert ASYNC code to use new Thread API
[openssl.git] / crypto / async / arch / async_null.c
index dba159f309624615cfae4a93e75e8d6ee19bc9da..7b93090a9a87c13bb295a1a776108963a44effa9 100644 (file)
@@ -1,4 +1,3 @@
-/* crypto/async/arch/async_null.c */
 /*
  * Written by Matt Caswell (matt@openssl.org) for the OpenSSL project.
  */
  * ====================================================================
  */
 
+/* This must be the first #include file */
 #include "../async_locl.h"
-#include <openssl/async.h>
 
 #ifdef ASYNC_NULL
 
-int async_pipe(OSSL_ASYNC_FD *pipefds)
+void async_local_cleanup(void)
 {
-    return -1;
-}
-
-int async_close_fd(OSSL_ASYNC_FD fd)
-{
-    return 0;
-}
-
-int async_write1(OSSL_ASYNC_FD fd, const void *buf)
-{
-    return -1;
-}
-
-int async_read1(OSSL_ASYNC_FD fd, void *buf)
-{
-    return -1;
-}
-
-int async_thread_local_init(void)
-{
-    return 0;
 }
 
 #endif