From 9b1aed0c82b5fabc1e9bd9ef5b5bf9bcd1670f90 Mon Sep 17 00:00:00 2001 From: PrinceOfPuppers Date: Wed, 29 Mar 2023 22:22:31 -0400 Subject: [PATCH] updated zephyr includes --- wolfcrypt/src/random.c | 6 +++--- wolfssl/internal.h | 2 +- wolfssl/test.h | 2 +- wolfssl/wolfcrypt/settings.h | 6 +++--- wolfssl/wolfcrypt/wc_port.h | 6 +++--- wolfssl/wolfio.h | 2 +- zephyr/zephyr_init.c | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/wolfcrypt/src/random.c b/wolfcrypt/src/random.c index b59a191afd..3df01c3842 100644 --- a/wolfcrypt/src/random.c +++ b/wolfcrypt/src/random.c @@ -3561,11 +3561,11 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz) #elif defined(WOLFSSL_ZEPHYR) - #include + #include #ifndef _POSIX_C_SOURCE - #include + #include #else - #include + #include #endif int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz) diff --git a/wolfssl/internal.h b/wolfssl/internal.h index b9e164fb1e..6b662d0390 100644 --- a/wolfssl/internal.h +++ b/wolfssl/internal.h @@ -194,7 +194,7 @@ #endif #elif defined(WOLFSSL_ZEPHYR) #ifndef SINGLE_THREADED - #include + #include #endif #elif defined(WOLFSSL_TELIT_M2MB) /* do nothing */ diff --git a/wolfssl/test.h b/wolfssl/test.h index 98e0fc9ccc..2298f130ce 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -140,7 +140,7 @@ #elif defined(WOLFSSL_ZEPHYR) #include #include - #include + #include #define SOCKET_T int #define SOL_SOCKET 1 #define WOLFSSL_USE_GETADDRINFO diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 8b8538b1fc..17d0414224 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -1762,9 +1762,9 @@ extern void uITRON4_free(void *p) ; #endif /*(WOLFSSL_APACHE_MYNEWT)*/ #ifdef WOLFSSL_ZEPHYR - #include - #include - #include + #include + #include + #include #include #define WOLFSSL_DH_CONST diff --git a/wolfssl/wolfcrypt/wc_port.h b/wolfssl/wolfcrypt/wc_port.h index 30493c47b3..78d53208c3 100644 --- a/wolfssl/wolfcrypt/wc_port.h +++ b/wolfssl/wolfcrypt/wc_port.h @@ -139,7 +139,7 @@ /* do nothing */ #elif defined(WOLFSSL_ZEPHYR) #ifndef SINGLE_THREADED - #include + #include #endif #elif defined(WOLFSSL_TELIT_M2MB) @@ -508,7 +508,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void); #define XFGETS(b,s,f) -2 /* Not ported yet */ #elif defined(WOLFSSL_ZEPHYR) - #include + #include #define XFILE struct fs_file_t* #define STAT struct fs_dirent @@ -913,7 +913,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void); #elif defined(WOLFSSL_ZEPHYR) #ifndef _POSIX_C_SOURCE - #include + #include #else #include #endif diff --git a/wolfssl/wolfio.h b/wolfssl/wolfio.h index f0d9fd5d38..f783fd0395 100644 --- a/wolfssl/wolfio.h +++ b/wolfssl/wolfio.h @@ -127,7 +127,7 @@ #include #include #elif defined(WOLFSSL_ZEPHYR) - #include + #include #elif defined(MICROCHIP_PIC32) #include #elif defined(HAVE_NETX) diff --git a/zephyr/zephyr_init.c b/zephyr/zephyr_init.c index b0bb4e6aff..9ec82e2d4e 100644 --- a/zephyr/zephyr_init.c +++ b/zephyr/zephyr_init.c @@ -25,7 +25,7 @@ * Initialize the wolfSSL library. */ -#include +#include #include "user_settings.h" #include "wolfssl/ssl.h"