diff options
Diffstat (limited to 'scripts/coverity-model.c')
-rw-r--r-- | scripts/coverity-model.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/coverity-model.c b/scripts/coverity-model.c index 617f67d716..bde7411094 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) { |