Fix warnings from -pedantic

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-29 10:52:14 +02:00
parent 009a2640f6
commit f78e4de6f4
4 changed files with 35 additions and 28 deletions

View file

@ -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 */