summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2011-10-15 09:05:03 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2011-10-15 09:05:03 +0000
commit623714b775aa00f8a3ee844dc0057365c7d3cd6a (patch)
tree006909574b94b574d0fea4ee98a293a7773c0217
parent14bad9ee2e1130814f836071ad782a040ec40466 (diff)
downloadlibev-623714b775aa00f8a3ee844dc0057365c7d3cd6a.tar.gz
libev-623714b775aa00f8a3ee844dc0057365c7d3cd6a.zip
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);