diff options
author | Russell Bryant <russell@russellbryant.com> | 2010-02-26 08:45:11 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2010-02-26 08:45:11 +0000 |
commit | a297f2d04e9a8d3dbc529bdcf2627ac184c69c56 (patch) | |
tree | 2a568296ab202900bb0994e3cca1b2bdeb223c69 /cdr/cdr_odbc.c | |
parent | b607585b0770e2983386965fca78ab75759b99f2 (diff) |
formatting tweaks and constification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@249058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr/cdr_odbc.c')
-rw-r--r-- | cdr/cdr_odbc.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c index 8af2edc20..e0f830c2a 100644 --- a/cdr/cdr_odbc.c +++ b/cdr/cdr_odbc.c @@ -16,8 +16,8 @@ * at the top of the source tree. */ -/*! \file - * +/*! + * \file * \brief ODBC CDR Backend * * \author Brian K. West <brian@bkw.org> @@ -37,8 +37,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#include <time.h> - #include "asterisk/config.h" #include "asterisk/channel.h" #include "asterisk/cdr.h" @@ -47,8 +45,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #define DATE_FORMAT "%Y-%m-%d %T" -static char *name = "ODBC"; -static char *config_file = "cdr_odbc.conf"; +static const char name[] = "ODBC"; +static const char config_file[] = "cdr_odbc.conf"; static char *dsn = NULL, *table = NULL; enum { |