From: Stefano Debenedetti Date: Fri, 11 Feb 2011 07:57:23 +0000 (+0100) Subject: posix: Fix poll and ppoll bindings. X-Git-Tag: 0.11.6~8 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=8d67021aebe24bae373be9ce7057a220a0af1e21;p=thirdparty%2Fvala.git posix: Fix poll and ppoll bindings. Fixes bug 641788. --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 80bf6fd08..a6a17bd84 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -809,9 +809,9 @@ namespace Posix { } [CCode (cheader_filename = "poll.h")] - public int poll (pollfd fds, nfds_t nfds, int timeout); + public int poll (pollfd[] fds, int timeout); [CCode (cheader_filename = "poll.h")] - public int ppoll (pollfd fds, nfds_t nfds, timespec? timeout, sigset_t? sigmask); + public int ppoll (pollfd[] fds, timespec? timeout, sigset_t? sigmask); [Compact] [CCode (cname = "struct passwd", cheader_filename = "pwd.h")]