aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/coverity-model.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/coverity-model.c b/scripts/coverity-model.c
index 617f67d..bde7411 100644
--- a/scripts/coverity-model.c
+++ b/scripts/coverity-model.c
@@ -325,6 +325,15 @@ char *g_strconcat(const char *s, ...)
/* Other glib functions */
+typedef struct pollfd GPollFD;
+
+int poll();
+
+int g_poll (GPollFD *fds, unsigned nfds, int timeout)
+{
+ return poll(fds, nfds, timeout);
+}
+
typedef struct _GIOChannel GIOChannel;
GIOChannel *g_io_channel_unix_new(int fd)
{