@@ -31,11 +31,11 @@ #import "OFNull.h" #import "OFInitializationFailedException.h" #import "OFObserveFailedException.h" -#define EVENTLIST_SIZE 64 +#define eventListSize 64 static const OFMapTableFunctions mapFunctions = { NULL }; @implementation OFEpollKernelEventObserver - (instancetype)init @@ -188,17 +188,17 @@ } - (void)observeForTimeInterval: (OFTimeInterval)timeInterval { OFNull *nullObject = [OFNull null]; - struct epoll_event eventList[EVENTLIST_SIZE]; + struct epoll_event eventList[eventListSize]; int events; if ([self of_processReadBuffers]) return; - events = epoll_wait(_epfd, eventList, EVENTLIST_SIZE, + events = epoll_wait(_epfd, eventList, eventListSize, (timeInterval != -1 ? timeInterval * 1000 : -1)); if (events < 0) @throw [OFObserveFailedException exceptionWithObserver: self errNo: errno];