diff options
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; |