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 --- include/ouroboros/dev.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/ouroboros/dev.h') diff --git a/include/ouroboros/dev.h b/include/ouroboros/dev.h index 4984736c..31c681db 100644 --- a/include/ouroboros/dev.h +++ b/include/ouroboros/dev.h @@ -35,13 +35,13 @@ int ap_init(const char * ap_name); void ap_fini(void); /* Returns flow descriptor, qs updates to supplied QoS. */ -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); /* Returns flow descriptor, qs updates to supplied QoS. */ -int flow_accept(qosspec_t * qs, - struct timespec * timeo); +int flow_accept(qosspec_t * qs, + const struct timespec * timeo); int flow_dealloc(int fd); -- cgit v1.2.3