summaryrefslogtreecommitdiffstats
path: root/lib/private.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private.h')
-rw-r--r--lib/private.h14
1 files changed, 7 insertions, 7 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