From b977090a7692acada4b81677e88c5a5e60a153c3 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 15 Mar 2020 08:58:55 +0100 Subject: lib: Change return type of fevent to ssize_t The return type was still an int, but since it returns the number of events, it should be an ssize_t. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/lib/dev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/dev.c') diff --git a/src/lib/dev.c b/src/lib/dev.c index c427e20c..8647bea9 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -1321,9 +1321,9 @@ enum fqtype fqueue_type(struct fqueue * fq) return fq->fqueue[fq->next - 1]; } -int fevent(struct flow_set * set, - struct fqueue * fq, - const struct timespec * timeo) +ssize_t fevent(struct flow_set * set, + struct fqueue * fq, + const struct timespec * timeo) { ssize_t ret; struct timespec abstime; -- cgit v1.2.3