From e43a278652a5ea540fb8297d7d4f1af7e4ebbb43 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 7e0d18c4d9..568016ec7f 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++; +} +