summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/profile.c b/profile.c
index 130b32407..6f2e64664 100644
--- a/profile.c
+++ b/profile.c
@@ -313,6 +313,11 @@ void evn_foreach(void (*callback)(const char *, int *, void *), void *data)
}
}
+void clear_events(void)
+{
+ evn_used = 0;
+}
+
void remember_event(const char *eventname)
{
int i = 0, len;