Allow to forward declare of public structs #1215
Thanks to forward declare we can declare `struct` in our header file instead making #include
This commit is contained in:
parent
7d728bd70e
commit
428cc52a73
42 changed files with 60 additions and 52 deletions
|
@ -42,7 +42,7 @@ extern "C" {
|
|||
|
||||
#if defined(MBEDTLS_THREADING_PTHREAD)
|
||||
#include <pthread.h>
|
||||
typedef struct
|
||||
typedef struct mbedtls_threading_mutex_t
|
||||
{
|
||||
pthread_mutex_t mutex;
|
||||
char is_valid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue