master
Marc Alexander Lehmann 2011-10-15 09:05:03 +00:00
parent 14bad9ee2e
commit 623714b775
2 changed files with 2 additions and 2 deletions

2
ev.c
View File

@ -1303,7 +1303,7 @@ array_nextsize (int elem, int cur, int cnt)
ncur <<= 1;
while (cnt > ncur);
/* if size is large, round to MALLOC_ROUND - 4 * longs to accomodate malloc overhead */
/* if size is large, round to MALLOC_ROUND - 4 * longs to accommodate malloc overhead */
if (elem * ncur > MALLOC_ROUND - sizeof (void *) * 4)
{
ncur *= elem;

2
ev.h
View File

@ -717,7 +717,7 @@ void ev_resume (EV_P);
/* stopping (disabling, deleting) a watcher does nothing unless its already running */
#if EV_PROTOTYPES
/* feeds an event into a watcher as if the event actually occured */
/* feeds an event into a watcher as if the event actually occurred */
/* accepts any ev_watcher type */
void ev_feed_event (EV_P_ void *w, int revents);
void ev_feed_fd_event (EV_P_ int fd, int revents);