Permalink
Browse files

fix declaration (bug #651)

git-svn-id: https://svn.ic-s.nl/svn/dbmail/branches/dbmail_2_2_branch@2806 7b491191-dbf0-0310-aff6-d879d4d69008
  • Loading branch information...
1 parent 6d33d8b commit 4ce6197b5148e7519718eb70497212c84217e69b paul committed Oct 20, 2007
Showing with 4 additions and 3 deletions.
  1. +1 −1 modules/dbmysql.c
  2. +1 −1 modules/dbpgsql.c
  3. +2 −1 modules/dbsqlite.c
View
@@ -79,7 +79,7 @@ static unsigned last_row_number = 0; /* the number of the row in last_row */
/* database parameters */
-db_param_t _db_params;
+extern db_param_t _db_params;
/* static functions, only used locally */
View
@@ -79,7 +79,7 @@ static void _create_binary_table(void);
static void _free_binary_table(void);
static void _set_binary_table(unsigned row, unsigned field);
static char*** bintbl = NULL;
-db_param_t _db_params;
+extern db_param_t _db_params;
int db_connect()
{
View
@@ -28,7 +28,8 @@
#include <sqlite3.h>
#define THIS_MODULE "sql"
-db_param_t _db_params;
+extern db_param_t _db_params;
+
#define DBPFX _db_params.pfx
static sqlite3 *conn;

0 comments on commit 4ce6197

Please sign in to comment.