commit | 428cc52a73fc3b6ef934c7e4fe94222c30c3f52d | [log] [tgz] |
---|---|---|
author | Dawid Drozd <dawid.drozd@mobica.com> | Tue Jul 24 10:02:47 2018 +0200 |
committer | Dawid Drozd <dawid.drozd@mobica.com> | Tue Jul 24 10:02:47 2018 +0200 |
tree | fd28f159a71638e71473db974d7696e296e3d067 | |
parent | 7d728bd70e6a8d129ee07813da1538de1bf95cb2 [diff] [blame] |
Allow to forward declare of public structs #1215 Thanks to forward declare we can declare `struct` in our header file instead making #include
diff --git a/include/mbedtls/md.h b/include/mbedtls/md.h index 6b6f5c5..bf29524 100644 --- a/include/mbedtls/md.h +++ b/include/mbedtls/md.h
@@ -80,7 +80,8 @@ /** * The generic message-digest context. */ -typedef struct { +typedef struct mbedtls_md_context_t +{ /** Information about the associated message digest. */ const mbedtls_md_info_t *md_info;