ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <time.h>
-
#include <libpq-fe.h>
#include "asterisk/config.h"
#define DATE_FORMAT "'%Y-%m-%d %T'"
-static char *name = "pgsql";
-static char *config = "cdr_pgsql.conf";
+static const char name[] = "pgsql";
+static const char config[] = "cdr_pgsql.conf";
static char *pghostname = NULL, *pgdbname = NULL, *pgdbuser = NULL, *pgpassword = NULL, *pgdbport = NULL, *table = NULL;
static int connected = 0;
static int maxsize = 512, maxsize2 = 512;