diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-27 21:23:46 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-01-07 15:31:38 -0800 |
commit | c080e504e4d74027b985b1ed675c172c083cea76 (patch) | |
tree | ac084d16d9d40c0a0c950b66eb62a0e16795d486 /src/common/timer.cpp | |
parent | ae30173d71d3bfc8514dbe70b6c90c9a3324b8fc (diff) | |
download | tmwa-c080e504e4d74027b985b1ed675c172c083cea76.tar.gz tmwa-c080e504e4d74027b985b1ed675c172c083cea76.tar.bz2 tmwa-c080e504e4d74027b985b1ed675c172c083cea76.tar.xz tmwa-c080e504e4d74027b985b1ed675c172c083cea76.zip |
Use cxxstdio
Diffstat (limited to 'src/common/timer.cpp')
-rw-r--r-- | src/common/timer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/timer.cpp b/src/common/timer.cpp index 0215b53..004771c 100644 --- a/src/common/timer.cpp +++ b/src/common/timer.cpp @@ -8,6 +8,7 @@ #include <cstdlib> #include <cstring> +#include "cxxstdio.hpp" #include "utils.hpp" static @@ -183,12 +184,12 @@ void delete_timer(timer_id id, timer_func func) { if (id == 0 || id >= timer_data_num) { - fprintf(stderr, "delete_timer error : no such timer %d\n", id); + FPRINTF(stderr, "delete_timer error : no such timer %d\n", id); abort(); } if (timer_data[id].func != func) { - fprintf(stderr, "Timer mismatch\n"); + FPRINTF(stderr, "Timer mismatch\n"); abort(); } // "to let them disappear" - is this just in case? |