aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/fuzzy_backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/fuzzy_backend.c')
-rw-r--r--src/libserver/fuzzy_backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/fuzzy_backend.c b/src/libserver/fuzzy_backend.c
index 8de026fd6..45a6aea30 100644
--- a/src/libserver/fuzzy_backend.c
+++ b/src/libserver/fuzzy_backend.c
@@ -46,7 +46,7 @@ struct rspamd_fuzzy_backend {
};
-const char *create_tables_sql =
+static const char *create_tables_sql =
"BEGIN;"
"CREATE TABLE digests("
"id INTEGER PRIMARY KEY,"
@@ -60,7 +60,7 @@ const char *create_tables_sql =
"digest_id INTEGER REFERENCES digests(id) ON DELETE CASCADE "
"ON UPDATE CASCADE);"
"COMMIT;";
-const char *create_index_sql =
+static const char *create_index_sql =
"BEGIN;"
"CREATE UNIQUE INDEX IF NOT EXISTS d ON digests(digest);"
"CREATE INDEX IF NOT EXISTS t ON digests(time);"