From b977090a7692acada4b81677e88c5a5e60a153c3 Mon Sep 17 00:00:00 2001
From: Dimitri Staessens <dimitri@ouroboros.rocks>
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 <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
---
 doc/man/fqueue.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'doc/man')

diff --git a/doc/man/fqueue.3 b/doc/man/fqueue.3
index 3bef1297..cbc8ee4e 100644
--- a/doc/man/fqueue.3
+++ b/doc/man/fqueue.3
@@ -21,7 +21,7 @@ on flows
 
 \fBint fqueue_type(fqueue_t * \fIfq\fB);
 
-\fBint fevent(fset_t * \fIset\fB, fqueue_t * \fIfq\fB,
+\fBssize_t fevent(fset_t * \fIset\fB, fqueue_t * \fIfq\fB,
 const struct timespec * \fItimeo\fB);
 
 Compile and link with \fI-louroboros-dev\fR.
-- 
cgit v1.2.3