summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util.c b/src/util.c
index a195cfc9..ac060d5e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -4434,13 +4434,6 @@ static timer_type *new_timer_init(s32b delay)
return t_ptr;
}
-timer_type *new_timer(cptr callback, s32b delay)
-{
- timer_type *t_ptr = new_timer_init(delay);
- t_ptr->callback = string_make(callback);
- return t_ptr;
-}
-
timer_type *new_timer_c(void (*callback)(), s32b delay)
{
timer_type *t_ptr = new_timer_init(delay);