From 57fc2e284684aab5b6bb3b56d0035fda4b1e63b3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 10 Oct 2015 07:56:56 +0200 Subject: got rid of threads entirely --- apps/midi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/midi.h') diff --git a/apps/midi.h b/apps/midi.h index f2aa119..38b1a7c 100644 --- a/apps/midi.h +++ b/apps/midi.h @@ -31,8 +31,8 @@ typedef struct { } midi_t; int midi_init(midi_t* m, const char* device); -int midi_get_poll_desc_count(midi_t* m); -int midi_get_poll_desc(midi_t* m, struct pollfd *pfds, int npfds); +int midi_get_poll_fd_count(midi_t* m); +int midi_get_poll_fds(midi_t* m, struct pollfd *pfds, int npfds); int midi_handle_revents(midi_t* m, struct pollfd *pfds, int npfds); #endif -- cgit v1.2.3