summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-10-15 09:05:03 +0000
committerroot <root>2011-10-15 09:05:03 +0000
commit79d6939e3dbe6825b6f470000c9e3842152360b0 (patch)
tree006909574b94b574d0fea4ee98a293a7773c0217
parent1eb14aaa4fc3d23ce130d1a8ef3cef75c3d7d45f (diff)
WW
-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);