Message ID | 1450374401-31352-45-git-send-email-pbonzini@redhat.com |
---|---|
State | New |
Headers | show |
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) {