diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 15:50:11 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 15:50:11 +0200 |
commit | 29ae5ac36d4ffc520232ff393b2455130ec0227e (patch) | |
tree | f89f8a4f2e5d61bc20ba16d2ab46070190cb411d /src/info.cc | |
parent | caa558e59c248521d1d4ad483fe669828277664e (diff) |
fix warnings/errors.
Diffstat (limited to 'src/info.cc')
-rw-r--r-- | src/info.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/info.cc b/src/info.cc index 701a705..e67f444 100644 --- a/src/info.cc +++ b/src/info.cc @@ -28,12 +28,14 @@ #include "info.h" #include <time.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; |