Fix warnings from -pedantic
This commit is contained in:
parent
009a2640f6
commit
f78e4de6f4
4 changed files with 35 additions and 28 deletions
|
@ -489,4 +489,11 @@
|
|||
#error "MBEDTLS_X509_CSR_WRITE_C defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Avoid warning from -pedantic. This is a convenient place for this
|
||||
* workaround since this is included by every single file before the
|
||||
* #if defined(MBEDTLS_xxx_C) that results in emtpy translation units.
|
||||
*/
|
||||
typedef int mbedtls_iso_c_forbids_empty_translation_units;
|
||||
|
||||
#endif /* MBEDTLS_CHECK_CONFIG_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue