diff options
author | Julian Bouzas <julian.bouzas@collabora.com> | 2021-06-25 14:08:22 -0400 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2021-07-28 13:19:02 +0300 |
commit | e63a86694b05178741d8e6bf3c54eed4b543388d (patch) | |
tree | 2a236d0756061c47df61c0671f9e9ba45ff8d103 /lib | |
parent | 3fc57c841ff9bdae445b086755024b2fa2630808 (diff) |
wpipc: change epoll thread func type name to be more consistent
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private.h | 14 | ||||
-rw-r--r-- | lib/utils.c | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/private.h b/lib/private.h index 06f601a..a5b1b7d 100644 --- a/lib/private.h +++ b/lib/private.h @@ -65,25 +65,25 @@ icipc_socket_read (int fd, uint8_t **buffer, size_t *max_size); struct epoll_thread; -typedef void (*icipc_epoll_thread_event_funct_t) (struct epoll_thread *self, - int fd, - void *data); +typedef void (*icipc_epoll_thread_event_func_t) (struct epoll_thread *self, + int fd, + void *data); struct epoll_thread { int socket_fd; int epoll_fd; int event_fd; pthread_t thread; - icipc_epoll_thread_event_funct_t socket_event_func; - icipc_epoll_thread_event_funct_t other_event_func; + icipc_epoll_thread_event_func_t socket_event_func; + icipc_epoll_thread_event_func_t other_event_func; void *event_data; }; bool icipc_epoll_thread_init (struct epoll_thread *self, int socket_fd, - icipc_epoll_thread_event_funct_t sock_func, - icipc_epoll_thread_event_funct_t other_func, + icipc_epoll_thread_event_func_t sock_func, + icipc_epoll_thread_event_func_t other_func, void *data); bool diff --git a/lib/utils.c b/lib/utils.c index 6390ec5..fd9cdff 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -201,8 +201,8 @@ again: bool icipc_epoll_thread_init (struct epoll_thread *self, int socket_fd, - icipc_epoll_thread_event_funct_t sock_func, - icipc_epoll_thread_event_funct_t other_func, + icipc_epoll_thread_event_func_t sock_func, + icipc_epoll_thread_event_func_t other_func, void *data) { struct epoll_event event; |