From 29ae5ac36d4ffc520232ff393b2455130ec0227e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 27 Oct 2011 15:50:11 +0200 Subject: fix warnings/errors. --- src/info.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/info.cc') 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 +#include +#include Info::Info() { pthread_mutex_init (&mutex, NULL); } -void Info::log(char *fmt, ...) +void Info::log(const char *fmt, ...) { // const time_t t; FILE *fp; -- cgit v1.2.3