From 32fa6ea17dcab2f2806db1327b420a3efbfd5640 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Tue, 28 May 2019 22:12:13 +0100 Subject: [PATCH] Fix test compilation. --- test/unit/persist_read_stubs.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/unit/persist_read_stubs.c b/test/unit/persist_read_stubs.c index 7e0d18c4..568016ec 100644 --- a/test/unit/persist_read_stubs.c +++ b/test/unit/persist_read_stubs.c @@ -142,3 +142,9 @@ int sub__messages_queue(struct mosquitto_db *db, const char *source_id, const ch return MOSQ_ERR_SUCCESS; } + +void db__msg_store_ref_inc(struct mosquitto_msg_store *store) +{ + store->ref_count++; +} +