diff options
-rw-r--r-- | libusb/os/poll_windows.c | 4 | ||||
-rw-r--r-- | libusb/os/poll_windows.h | 4 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/libusb/os/poll_windows.c b/libusb/os/poll_windows.c index 208953b..5c57099 100644 --- a/libusb/os/poll_windows.c +++ b/libusb/os/poll_windows.c @@ -119,7 +119,7 @@ struct winfd usbi_create_fd(void) return wfd; } -int usbi_inc_fds_ref(struct pollfd *fds, unsigned int nfds) +void usbi_inc_fds_ref(struct pollfd *fds, unsigned int nfds) { int n; usbi_mutex_static_lock(&fd_table_lock); @@ -129,7 +129,7 @@ int usbi_inc_fds_ref(struct pollfd *fds, unsigned int nfds) usbi_mutex_static_unlock(&fd_table_lock); } -int usbi_dec_fds_ref(struct pollfd *fds, unsigned int nfds) +void usbi_dec_fds_ref(struct pollfd *fds, unsigned int nfds) { int n; struct file_descriptor *fd; diff --git a/libusb/os/poll_windows.h b/libusb/os/poll_windows.h index 980870d..a9a3909 100644 --- a/libusb/os/poll_windows.h +++ b/libusb/os/poll_windows.h @@ -71,8 +71,8 @@ ssize_t usbi_write(int fd, const void *buf, size_t count); ssize_t usbi_read(int fd, void *buf, size_t count); int usbi_close(int fd); -int usbi_inc_fds_ref(struct pollfd *fds, unsigned int nfds); -int usbi_dec_fds_ref(struct pollfd *fds, unsigned int nfds); +void usbi_inc_fds_ref(struct pollfd *fds, unsigned int nfds); +void usbi_dec_fds_ref(struct pollfd *fds, unsigned int nfds); /* * Timeval operations diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 7d50671..77a129a 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11371 +#define LIBUSB_NANO 11372 |