aboutsummaryrefslogtreecommitdiffhomepage
path: root/event.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-03 15:20:30 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-03 15:22:03 -0800
commit3ead99b0883c49d465a90a6746409003d7224190 (patch)
treefad0ab467226584b975328b305fded21b980239e /event.h
parent8c0803e3c5d9cb874f5dd69ee2727eb4be99bfac (diff)
Put fish on a diet. Tracked down the biggest memory hogs and fixed them. Total allocations down by a factor of 3 or so, live allocations a few KB.
Diffstat (limited to 'event.h')
-rw-r--r--event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.h b/event.h
index a32c2b3c..402b3594 100644
--- a/event.h
+++ b/event.h
@@ -100,7 +100,7 @@ struct event_t
May not be called by a signal handler, since it may allocate new memory.
*/
-void event_add_handler( event_t *event );
+void event_add_handler( const event_t *event );
/**
Remove all events matching the specified criterion.