diff --git a/src/fw-iso.c b/src/fw-iso.c index 1b50689..da617e0 100644 --- a/src/fw-iso.c +++ b/src/fw-iso.c @@ -303,7 +303,7 @@ int fw_iso_recv_start(fw_handle_t handle, int start_on_cycle, } static int handle_iso_event(raw1394handle_t handle, - struct epoll_closure *closure, __uint32_t events) + struct epoll_closure *closure, uint32_t events) { fw_handle_t fwhandle = handle->mode.fw; struct fw_cdev_event_iso_interrupt *interrupt; diff --git a/src/fw.c b/src/fw.c index 7e9bd52..b9c203d 100644 --- a/src/fw.c +++ b/src/fw.c @@ -187,7 +187,7 @@ scan_devices(fw_handle_t handle) static int handle_echo_pipe(raw1394handle_t handle, - struct epoll_closure *ec, __uint32_t events) + struct epoll_closure *ec, uint32_t events) { quadlet_t value; @@ -258,7 +258,7 @@ handle_fcp_request(raw1394handle_t handle, struct address_closure *ac, static int handle_device_event(raw1394handle_t handle, - struct epoll_closure *ec, __uint32_t events) + struct epoll_closure *ec, uint32_t events) { fw_handle_t fwhandle = handle->mode.fw; union fw_cdev_event *u; @@ -421,7 +421,7 @@ process_inotify_event(fw_handle_t fwhandle, struct inotify_event *event) static int handle_inotify(raw1394handle_t handle, struct epoll_closure *ec, - __uint32_t events) + uint32_t events) { fw_handle_t fwhandle = handle->mode.fw; struct inotify_event *event; diff --git a/src/fw.h b/src/fw.h index f7daf07..7ad5b97 100644 --- a/src/fw.h +++ b/src/fw.h @@ -12,6 +12,7 @@ #ifndef LIBRAW1394_FW_H #define LIBRAW1394_FW_H +#include #include #include @@ -48,7 +49,7 @@ struct fw_handle; struct epoll_closure { int (*func)(raw1394handle_t handle, - struct epoll_closure *closure, __uint32_t events); + struct epoll_closure *closure, uint32_t events); }; struct port {