summaryrefslogtreecommitdiff
path: root/data/coverity
diff options
context:
space:
mode:
Diffstat (limited to 'data/coverity')
-rw-r--r--data/coverity/model.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/coverity/model.c b/data/coverity/model.c
new file mode 100644
index 0000000..f32daa3
--- /dev/null
+++ b/data/coverity/model.c
@@ -0,0 +1,26 @@
1/*
2 * Coverity Model - not a real source file.
3 *
4 * See https://scan.coverity.com/tune
5 * See https://scan.coverity.com/models
6 *
7 * Coverity doesn't detect changes to this file, update manually at:
8 *
9 * https://scan.coverity.com/projects/enlightenment-foundation-libraries?tab=analysis_settings
10 */
11
12typedef struct {
13 int fd;
14} Eo;
15
16/* force Coverity to understand these take ownership of fd */
17
18void efl_loop_fd_set(Eo *obj, int fd)
19{
20 obj->fd = fd;
21}
22
23void efl_loop_fd_file_set(Eo *obj, int fd)
24{
25 obj->fd = fd;
26}