summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-01-02 19:12:44 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-01-02 19:12:44 +0100
commit3f088b7581a84a996cf484e3aa0c755ab813cc69 (patch)
treec5273ddff01a304268bbd0a61377598035b55da5
parent4bff733352f608744e86328deb443d68ce666f7d (diff)
Make db variable static.
-rw-r--r--db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.c b/db.c
index b78ed54..86a10f8 100644
--- a/db.c
+++ b/db.c
@@ -5,7 +5,7 @@
#include "db.h"
-sqlite3 *db = NULL;
+static sqlite3 *db = NULL;
void db_close();