From 607cc8cd9bbdac1db55072b0bfa828fef7913baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Tue, 17 Dec 2013 23:14:43 +0100 Subject: [PATCH] const parameter --- src/iomux_impl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/iomux_impl.c b/src/iomux_impl.c index 2f41aa6..653a839 100644 --- a/src/iomux_impl.c +++ b/src/iomux_impl.c @@ -53,7 +53,9 @@ void iomux_delete(struct IOMux *mux) } //convert the difference between future and now -static inline void future_to_interval(struct timeval *future, const struct timeval *now, struct timeval *result) +static inline void future_to_interval(const struct timeval *future, + const struct timeval *now, + struct timeval *result) { if (timercmp(future, now, >)) { timersub(future, now, result);