From 14044c0ef96871583851c3e9a89a0e31163acde3 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Mon, 10 Apr 2017 12:34:02 +0200 Subject: lib: Make timeout for flow allocation const --- src/lib/dev.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/dev.c') diff --git a/src/lib/dev.c b/src/lib/dev.c index 389ff278..7cd6fdce 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -381,8 +381,8 @@ void ap_fini() pthread_rwlock_destroy(&ai.data_lock); } -int flow_accept(qosspec_t * qs, - struct timespec * timeo) +int flow_accept(qosspec_t * qs, + const struct timespec * timeo) { irm_msg_t msg = IRM_MSG__INIT; irm_msg_t * recv_msg = NULL; @@ -485,9 +485,9 @@ int flow_accept(qosspec_t * qs, return fd; } -int flow_alloc(const char * dst_name, - qosspec_t * qs, - struct timespec * timeo) +int flow_alloc(const char * dst_name, + qosspec_t * qs, + const struct timespec * timeo) { irm_msg_t msg = IRM_MSG__INIT; irm_msg_t * recv_msg = NULL; -- cgit v1.2.3