summaryrefslogtreecommitdiffstats
path: root/contrib/coverity/model.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/coverity/model.c')
-rw-r--r--contrib/coverity/model.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/coverity/model.c b/contrib/coverity/model.c
index 15535d42..43bac58d 100644
--- a/contrib/coverity/model.c
+++ b/contrib/coverity/model.c
@@ -7,6 +7,9 @@ typedef long off_t;
typedef void * userptr_t;
typedef long long time_t;
struct tm;
+typedef unsigned short wchar_t;
+typedef void mbstate_t;
+struct digest_algorithm;
/* Inhibit use of built-in models for functions where Coverity's
* assumptions about the modelled function are incorrect for iPXE.
@@ -19,3 +22,8 @@ time_t mktime ( struct tm *tm ) {
}
int getchar ( void ) {
}
+size_t wcrtomb ( char *buf, wchar_t wc, mbstate_t *ps ) {
+}
+void hmac_init ( struct digest_algorithm *digest, void *digest_ctx,
+ void *key, size_t *key_len ) {
+}