Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 4ce6197b5148e7519718eb70497212c84217e69b 1 parent 6d33d8b
paul authored
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
2  modules/dbmysql.c
@@ -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
2  modules/dbpgsql.c
@@ -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
3  modules/dbsqlite.c
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.