diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
commit | 408e980a83437ed621fa99ae0cd8d2bc6579f5ba (patch) | |
tree | 7f73587d84487f989bca966a22fc1c85c3f8397b /lib/info.cc | |
parent | 7d8e6af2df12442c1c133956b3acf3fdbc496423 (diff) |
Fix warnings and error (due to bitrot)master-old
Diffstat (limited to 'lib/info.cc')
-rw-r--r-- | lib/info.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/info.cc b/lib/info.cc index 86e4cc4..6d381a3 100644 --- a/lib/info.cc +++ b/lib/info.cc @@ -29,11 +29,14 @@ #include <time.h> #include <stdarg.h> +#include <stdio.h> +#include <string.h> + Info::Info() { pthread_mutex_init (&mutex, NULL); } -void Info::log(char *fmt, ...) +void Info::log(const char *fmt, ...) { // const time_t t; FILE *fp; |