summaryrefslogtreecommitdiffstats
path: root/ipecamera/image.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-18 01:07:04 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-18 01:07:04 +0200
commit51b53a89896a63d49e7e622133faf58dc681ce13 (patch)
tree0af640d5818651d5bf474b1fbc976f821290694b /ipecamera/image.c
parent71c759e3fa6fb725c51e3800947848cd549222bf (diff)
downloadpcitool-51b53a89896a63d49e7e622133faf58dc681ce13.tar.gz
pcitool-51b53a89896a63d49e7e622133faf58dc681ce13.tar.bz2
pcitool-51b53a89896a63d49e7e622133faf58dc681ce13.tar.xz
pcitool-51b53a89896a63d49e7e622133faf58dc681ce13.zip
Change timeout definition in Events API from struct timespec to pcilib_timeout_t
Diffstat (limited to 'ipecamera/image.c')
-rw-r--r--ipecamera/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipecamera/image.c b/ipecamera/image.c
index 3d1056d..0fe8da8 100644
--- a/ipecamera/image.c
+++ b/ipecamera/image.c
@@ -613,7 +613,7 @@ static int ipecamera_resolve_event_id(ipecamera_t *ctx, pcilib_event_id_t evid)
return buf_ptr;
}
-pcilib_event_id_t ipecamera_next_event(pcilib_context_t *vctx, pcilib_event_t event_mask, const struct timespec *timeout) {
+pcilib_event_id_t ipecamera_next_event(pcilib_context_t *vctx, pcilib_event_t event_mask, pcilib_timeout_t timeout) {
int buf_ptr;
pcilib_event_id_t reported;
ipecamera_t *ctx = (ipecamera_t*)vctx;