Browse Source

WW

master
Marc Alexander Lehmann 9 years ago
parent
commit
623714b775
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ev.c
  2. +1
    -1
      ev.h

+ 1
- 1
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;


+ 1
- 1
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);


Loading…
Cancel
Save