summaryrefslogtreecommitdiff
path: root/src/common/timer.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-30 14:05:54 -0300
committershennetsind <ind@henn.et>2013-09-30 14:05:54 -0300
commit1375af7d000d9e35ddd4a8a2c878f0bcefdf9a2d (patch)
tree6b1e3c4807bbd3c241e08031ceadbf1d7ff018ed /src/common/timer.h
parent4de6b8e083f5e14ebc5a453af7efce341852be7a (diff)
downloadhercules-1375af7d000d9e35ddd4a8a2c878f0bcefdf9a2d.tar.gz
hercules-1375af7d000d9e35ddd4a8a2c878f0bcefdf9a2d.tar.bz2
hercules-1375af7d000d9e35ddd4a8a2c878f0bcefdf9a2d.tar.xz
hercules-1375af7d000d9e35ddd4a8a2c878f0bcefdf9a2d.zip
Hey Look, I must be lucky today, a penny.
Er. I mean, a decade-old unused member in one of the most busy core section -- timers. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/timer.h')
-rw-r--r--src/common/timer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/timer.h b/src/common/timer.h
index 3146a2e66..600f9fd02 100644
--- a/src/common/timer.h
+++ b/src/common/timer.h
@@ -23,9 +23,8 @@ typedef int (*TimerFunc)(int tid, unsigned int tick, int id, intptr_t data);
struct TimerData {
unsigned int tick;
TimerFunc func;
- int type;
+ unsigned char type;
int interval;
- int heap_pos;
// general-purpose storage
int id;