diff options
author | Dimitri Staessens <[email protected]> | 2023-09-17 13:49:59 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2023-09-20 18:51:19 +0200 |
commit | c7fbae74dcf91333cc53632153e1c91e2a641f0d (patch) | |
tree | 93fc011ea9d249589a92c0becc569eae3e88a832 /src/lib/dev.c | |
parent | a032b25832a75deef7d6d8b48a0786e5838df419 (diff) | |
download | ouroboros-c7fbae74dcf91333cc53632153e1c91e2a641f0d.tar.gz ouroboros-c7fbae74dcf91333cc53632153e1c91e2a641f0d.zip |
lib: Rename portevent to flowevent
Doesn't make any sense to call it a port event...
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r-- | src/lib/dev.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; |