diff options
Diffstat (limited to 'include/internal/quic_thread_assist.h')
| -rw-r--r-- | include/internal/quic_thread_assist.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/internal/quic_thread_assist.h b/include/internal/quic_thread_assist.h index 12d9750ad331..fbfac146dab0 100644 --- a/include/internal/quic_thread_assist.h +++ b/include/internal/quic_thread_assist.h @@ -8,17 +8,17 @@ */ #ifndef OSSL_QUIC_THREAD_ASSIST_H -# define OSSL_QUIC_THREAD_ASSIST_H +#define OSSL_QUIC_THREAD_ASSIST_H -# include <openssl/ssl.h> -# include "internal/thread.h" -# include "internal/time.h" +#include <openssl/ssl.h> +#include "internal/thread.h" +#include "internal/time.h" -# if defined(OPENSSL_NO_QUIC) || defined(OPENSSL_NO_THREAD_POOL) -# define OPENSSL_NO_QUIC_THREAD_ASSIST -# endif +#if defined(OPENSSL_NO_QUIC) || defined(OPENSSL_NO_THREAD_POOL) +#define OPENSSL_NO_QUIC_THREAD_ASSIST +#endif -# ifndef OPENSSL_NO_QUIC_THREAD_ASSIST +#ifndef OPENSSL_NO_QUIC_THREAD_ASSIST /* * QUIC Thread Assisted Functionality @@ -56,7 +56,7 @@ typedef struct quic_thread_assist_st { * not affect the state of the mutex. */ int ossl_quic_thread_assist_init_start(QUIC_THREAD_ASSIST *qta, - QUIC_CHANNEL *ch); + QUIC_CHANNEL *ch); /* * Request the thread assist helper to begin stopping the assist thread. This @@ -93,6 +93,6 @@ int ossl_quic_thread_assist_cleanup(QUIC_THREAD_ASSIST *qta); */ int ossl_quic_thread_assist_notify_deadline_changed(QUIC_THREAD_ASSIST *qta); -# endif +#endif #endif |
