summaryrefslogtreecommitdiffstats
path: root/contrib/coverity/model.c
blob: 15535d421dbbe3f66c727e651329aca11d508ee6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Coverity modelling file
 *
 */

typedef long off_t;
typedef void * userptr_t;
typedef long long time_t;
struct tm;

/* Inhibit use of built-in models for functions where Coverity's
 * assumptions about the modelled function are incorrect for iPXE.
 */
char * strerror ( int errno ) {
}
void copy_from_user ( void *dest, userptr_t src, off_t src_off, size_t len ) {
}
time_t mktime ( struct tm *tm ) {
}
int getchar ( void ) {
}