From c7fbae74dcf91333cc53632153e1c91e2a641f0d Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 17 Sep 2023 13:49:59 +0200 Subject: lib: Rename portevent to flowevent Doesn't make any sense to call it a port event... Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/lib/dev.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/dev.c') diff --git a/src/lib/dev.c b/src/lib/dev.c index 69843c58..7de257e2 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -126,7 +126,7 @@ struct flow_set { }; struct fqueue { - struct portevent fqueue[SHM_BUFFER_SIZE]; /* Safe copy from shm. */ + struct flowevent fqueue[SHM_BUFFER_SIZE]; /* Safe copy from shm. */ size_t fqsize; size_t next; }; @@ -909,7 +909,6 @@ int flow_alloc(const char * dst, irm_msg__free_unpacked(recv_msg, NULL); - return fd; fail_result: @@ -1726,7 +1725,7 @@ static int fqueue_filter(struct fqueue * fq) int fqueue_next(struct fqueue * fq) { int fd; - struct portevent * e; + struct flowevent * e; if (fq == NULL) return -EINVAL; -- cgit v1.2.3