1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

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