summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c2
-rw-r--r--ev.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ev.c b/ev.c
index d8f538c..f941452 100644
--- a/ev.c
+++ b/ev.c
@@ -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;
diff --git a/ev.h b/ev.h
index 27c1778..7db1e87 100644
--- a/ev.h
+++ b/ev.h
@@ -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);